Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Real Inputs not connected

Real Inputs not connected

Hi there,

I want to use a model which has several real Inputs (for several sensor signals). But I don't always need all of them. It would be great if modelica would ignore the Inputs that are not connected. Otherwise, I have more variables than equations.

The "cardinality" command doesn't work (is it just for connectors?) and I would like to avoid creating a bool for every Input that has to set on true manually if a real Input is needed.

Can anyone help? Thanks a lot
Zwieback

There are 0 guests and 0 other users also viewing this topic