modelexpI
Step response current ramping source for Spice
Extends from BondLib.Electrical.Analog.Interfaces.OnePort (OnePort partial model of analog electrical library).
Information
The step response current ramping source for Spice is built from two superposed sources, a step response source and a ramping source placed in parallel.
Parameters: I: Height of step response source current after infinite time (default value = 1 Amp) riseTime: Rise time of step response to be generated (default value = 0.5 sec) riseTimeConst: Rise time constant of step response to be generated (default value = 0.1) fallTimeConst: Fall time constant of step response to be generated (default value = riseTimeConst) offset: Offset of step response to be generated (default value = 0 Amp) rampTime: Initial ramping period (default value = 0 sec) settleTime: Initial settling period (default value = 0 sec)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Current | I | 1 | Amplitude of step response |
| Modelica.SIunits.Time | riseTime | 0.5 | Rise time |
| Modelica.SIunits.Time | riseTimeConst | 0.1 | Rise time constant |
| Modelica.SIunits.Time | fallTimeConst | riseTimeConst | Fall time constant |
| Modelica.SIunits.Current | offset | 0 | Current offset |
| Modelica.SIunits.Time | rampTime | 0 | Ramping period |
| Modelica.SIunits.Time | settleTime | 0 | Settling period |
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 |