Skip to content

ConditionalDerivedVariables and DerivedVariables #88

@kperun

Description

@kperun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions