Open mgarrouste opened 2 years ago
To understand, you have one component such as
<Component name="alpha">
<capacity>
<fixed_value>5</fixed_value>
</capacity>
....
</Component>
and another such as
<Component name="beta">
<capacity>
<variable>alpha_capacity</variable>
</capacity>
....
</Component>
?
Not exactly the first component capacity is part of the optimization
So something like this:
`
....
`
and another such as
`
....
`
That is a very challenging pattern. It's definitely possible on the RAVEN side to tie these capacities together, but HERON definitely isn't set up like that. I'll have to think about how we could do this.
Defect Description
Describe the defect I defined one component capacity ('dependent') using another component capacity ('main').
What did you expect to see happen?
The case running
What did you see instead?
The case crashed, the template driver does not put the dependent capacity in the right spots in the inner and outer files.
Do you have a suggested fix for the development team?
Once the sampler has sampled another capacity for the main component the dependent capacity should be computed from the main one and then written as a constant in the inner file
Describe how to Reproduce Steps to reproduce the behavior:
Screenshots and Input Files Please attach the input file(s) that generate this error. The simpler the input, the faster we can find the issue.
dependent_capacity.xml.zip
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.