Skip to content

ConditionalDerivedVariables and DerivedVariables #88

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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