modelRampVoltage

Ramp voltage source of analog electrical library

Extends from Interfaces.OnePort (OnePort partial model of analog electrical library).

Information

The ramp voltage source is built in bondgraphic technology from a bond graph rampSe element, a 1-junction, and three bonds. A-causal bonds must be used except at the source, because the causality depends on the embedding of the voltage source in its environment.


Parameters:

 V:          Height of source voltage ramp (default value = 1 Volt)

 duration:   Duration of source voltage ramp (default value = 2 sec)

 offset:     Offset of ramp to be generated (default value = 0 Volt)

 startTime:  Start time of ramp to be generated (default value = 0 sec)

Parameters

TypeNameDefaultDescription
Modelica.SIunits.VoltageV1Height of ramp
Modelica.SIunits.Timeduration2Duration of ramp
Modelica.SIunits.Voltageoffset0Voltage offset
Modelica.SIunits.TimestartTime0Time offset

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp (from OnePort)Left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn (from OnePort)Right electrical connector

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev (from OnePort)Voltage drop between the two pins
Modelica.SIunits.Currenti (from OnePort)Current flowing from pin p to pin n