Closed yoshiurr-INL closed 2 years ago
@worseliz this is the PR looking at adding pyomo-compatible cash flow analysis. The need comes from the DISPATCHES project requiring TEAL as a source for CashFlow expression constructions in their pyomo environment. We can have a chat about details if you want.
@yoshiurr-INL for the test, you can use required_libraries = 'pyomo'
to cause the system to skip the test if pyomo isn't detected in the python env. For example, for a test in RAVEN that uses the optional imageio
library:
[./votingRegressor_plotting]
type = 'RavenFramework'
input = 'votingRegressor_plotting.xml'
csv = 'data/outVotingRegressor_plotting.csv'
image = 'data/votingRegressor_scatter-scatter-scatter-scatter-scatter.png'
required_libraries = 'imageio'
rel_err = 0.1
[../]
Any progress on the test for this?
Pull Request Description
What issue does this change request address?
Issue #42
What are the significant changes in functionality due to this change request?
When triggered, TEAL will accept pyomo expression as an acceptable format and vprints are changed accordingly. In that case, the output should be equation expressions instead of float values.
For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.