Skip to content

Conditional component used in an equation #25

@maltelenz

Description

@maltelenz

Here, partialArc is used in an equation:

w = Kt*partialArc*sqrt(Medium.pressure(steamState_in)*Medium.density(

It is declared here as a conditional component:

Modelica.Blocks.Interfaces.RealInput partialArc if usePartialArcInput

This is illegal Modelica:

A component declared with a condition-attribute can only be modified and/or used in connections.

Edit: I realize now that it is also part of the abandoned package mentioned here: #17 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions