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

Table as power input

Table as power input

I have a power input in model that varies with time, but I can not implement it as simple mathematical function as ramp or constant, as it is in the form of table. Can i use a table element with 1st column the time of and 2nd column as power level in Watts.

Re: Table as power input

Yes, see Modelica Standard Library (Modelica) -> Blocks -> Sources -> CombiTimeTable.

You have to format your table accordingly and save it as mat or txt, It was explained in the documentation view of CombiTimeTable.

Re: Table as power input

Thankyou.

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