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 set transition time of step voltage

How to set transition time of step voltage

I have a step voltage block dropped down from the Connection Editor's Electrical->Analog->Sources directory. It is a snap to specify the 12 volts I need, but completely silly that I cannot specify the transition time for it to ramp to the 12 volt value. Also what about delay time?

There is only ONE argument for this step voltage source, the step. Am I missing something here?

Re: How to set transition time of step voltage

Hi,

no your are not missing something. It seems to be a bug in OMEdit, so that OMEdit doesn't allow to change parameters of the models add by extends and redeclare components. Please add a bug report.
Anyway you can add your own modification in the textual view like that:

Code:

  Modelica.Electrical.Analog.Sources.StepVoltage stepvoltage1( V=1, offset=1, startTime=1)

so long.
Willi

There are 0 guests and 0 other users also viewing this topic
You are here: