ConditionalDerivedVariables and DerivedVariables
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 11
- Forks
- 11
- Avg merge
- 8h 6m
- Merged PRs (30d)
- 1
Description
There seems to be a problem with ConditionalDerivedVariables in combination with DerivedVariables, e.g.
<ConditionalDerivedVariable dimension="DIM_mV" name="V_bounded">
<Case condition="(V_m.leq.V_peak)" value="(V_m)"/>
<Case condition="(V_m.gt.V_peak)" value="(V_peak)"/>
</ConditionalDerivedVariable>
<DerivedVariable dimension="none" name="exp_arg" value="(V_bounded-V_th)/Delta_T"/>
results in an error stating that V_bounded in exp_arg can not be found. However, if we use V_bounded in a state assignment, it seems to work.
Is this a bug or some kind of intended behavior in order to, e.g., avoid circular dependencies?
Regards,
Konstantin
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the XML example in the issue and reproduce the failure using ConditionalDerivedVariable followed by DerivedVariable. Compare how V_bounded is resolved in exp_arg with how it works in a state assignment. Done means determining whether this dependency is supported or intentionally rejected, then documenting or correcting the behavior with a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100