[DEFECT] Using External Function as Resource Transfer not implemented #253
Labels
defect
Something isn't working
priority-critical
Task that is time sensitive and critical to project work
Defect Description
Describe the defect
I tried to implement a component resource transfer using an external function instead of a linear transfer function. The HERON documentation says this is possible but it has not been implemented yet. For example, I edited
HERON/tests/integration_tests/mechanics/storage_func/heron_input.xml
to include the external function call within one of the components on Line 70:What did you expect to see happen?
What did you see instead?
I got an error when running outer.xml. In the outer~inner file, I see:
Seems the capability has not been implemented yet, there are some
TODO
s still in thecreate_transfer
method in Pyomo dispatch.Do you have a suggested fix for the development team?
In the
create_transfer
method withinpyomo_dispatch.py
, HERON should be able to check for a Function type (as well as the standard Linear type) transfer function. It would be good to allow the user to either provide the transfer functions or to set the constraints themselves.Describe how to Reproduce
Steps to reproduce the behavior:
outer.xml
for storage_func test while adding external function call as shown in snapshot above.Platform (please complete the following information):
For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.
For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.
The text was updated successfully, but these errors were encountered: