modelPulseVoltage
Pulse voltage source of analog electrical library
Extends from Interfaces.OnePort (OnePort partial model of analog electrical library).
Information
The pulse voltage source is built in bondgraphic technology from a bond graph pulseSe 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: Amplitude of source voltage pulse (default value = 1 Volt) width: Percentage of period in on state (default value = 50%) period: Length of period of pulse to be generated (default value = 1 sec) offset: Offset of pulse to be generated (default value = 0 Volt) startTime: Start time of pulse to be generated (default value = 0 sec)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | V | 1 | Amplitude of pulse |
| Real | width | 50 | Width of pulse in % of period |
| Modelica.SIunits.Time | period | 1 | Time for one period |
| Modelica.SIunits.Voltage | offset | 0 | Voltage offset |
| Modelica.SIunits.Time | startTime | 0 | Time offset |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p (from OnePort) | Left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n (from OnePort) | Right electrical connector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v (from OnePort) | Voltage drop between the two pins | |
| Modelica.SIunits.Current | i (from OnePort) | Current flowing from pin p to pin n |