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
  • Index
  • » Users
  • » VicNar
  • » Profile

Posts

Posts

Jan-17-18 14:48:25
Add ports for self-defind component

The default OpenModelica library have some I/O ports. The route is the following: Modelica>Blocks>Interfaces
There you can see, for example, 'RealInput' and 'RealOutput'.

How can I generate a line that goes from 0 to 1 by the time of an input? The input value represents the time the system needs to reach 1 and it changes each cycle. Thank you very much.

I've been trying with look-up table or repeating sequence but I can't find the solution.

  • Index
  • » Users
  • » VicNar
  • » Profile
You are here: