modelI
Constant current ramping source for Spice
Extends from BondLib.Electrical.Analog.Interfaces.OnePort (OnePort partial model of analog electrical library).
Information
The constant current ramping source ramps the current up (or down) from zero to its final value during rampTime.
Parameters: I: Constant source current (default value = 1 Amp) rampTime: Initial ramping period (default value = 0 sec)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Current | I | 1 | Constant current |
| Modelica.SIunits.Time | rampTime | 0 | Ramping time |
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 |