tespy | Thermal Engineering Systems in Python
kandi X-RAY | tespy Summary
kandi X-RAY | tespy Summary
Thermal Engineering Systems in Python (TESPy). This package provides a powerful simulation toolkit for thermal engineering plants such as power plants, district heating systems or heat pumps.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Generate a heat exchanger network with the specified starting values
- Solve the problem
- Set attributes of TESPy instance
- Set attribute values
- Solve the model
- Performs postprocessing
- Check network connectivity
- Ensures that the connections are attached to the target
- Set instance attributes
- Get attribute
- Set attribute values
- Return the attribute of the component
- Calculate the entropy balance
- Calculates the amount of fuel in the fluid
- Calculate the kA_A_char_func function
- Calculate the entropy balance of the fluid
- Returns the derivative of the bus derivative
- Calculate the entropy balance
- Runs the evolution
- Calculate the derivative of a parameter
- Calculate KA coefficient
- Print results
- Print the results of the optimization
- Return documentation for stoichiometry
- Set attribute
- Define logging
- Calculate the data for a given phase
- Generate a plotly plotly
- R Calculates the Darcy coupling factor
tespy Key Features
tespy Examples and Code Snippets
Community Discussions
Trending Discussions on tespy
QUESTION
I have a Python package containing a data module with some data in .json format (https://github.com/oemof/tespy/tree/dev/tespy/data). I want to document these data as plots in my online documentation like this (https://tespy.readthedocs.io/en/dev/api/tespy.data.html).
Is it possible implement a python script into the readthedocs build and document the data automatically this way? I think, this would be useful, since changes in the data will automatically be documented. Or, would this be bad practice?
At the moment, I have python script creating the .rst file (tespy.data.rst
) as well as the plots (.svg
format) locally and upload them to the github repository. My code requires matplotlib
, pkg_resources
as well as json
and looks like this (is the pseudo-code okay, or should I add the full code?).
ANSWER
Answered 2020-Jan-17 at 15:11I was able to solve this: I integrated the plotting code into the conf.py. Additionally I added the readthedocs requirement for matplotlib. See: https://github.com/oemof/tespy/blob/dev/doc/conf.py and https://github.com/oemof/tespy/blob/dev/rtd_requirements.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tespy
You can use tespy like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page