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

How to initiate connectors?

How to initiate connectors?

Hi There,

I am trying to construct a Modelica model with component connectors. But when I try to run, I exprieneced the following execution failure:

The following variables are iteration variables of the initialization problem:
cv.cPort_b1[1].Qm
cv.cPort_b1[2].Qm
cv.cPort_b1[3].Qm
but they are not given any explicit start values. Zero will be used.

I tried to initiate with the following declaration but it  it appears that it is not the correct syntax:
cv.cPort_m1[3](start=10,10,10)

If I have to initiate them, can anyone let me know how to do that?

Thanks

Edited by: atame - Jul-13-15 12:40:21
There are 0 guests and 0 other users also viewing this topic
You are here: