modelDemonstrateLightning
Demonstrate trajectory of lightning current
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Compare 2 lightning trajectories: No.1 with double exponential function, No.2 with Heidler function.
Variables of interest are:
currentSensor1.yintegrator1.yder1.ycurrentSensor2.yintegrator2.yder2.y
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | T1 | 10e-6 | Rise time |
| Modelica.Units.SI.Time | T2 | 350e-6 | Decay time to half value |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Sources.LightningImpulseVoltage | lightning1 | ||
| Sources.LightningImpulseCurrent | lightning2 | ||
| Basic.Ground | ground1 | ||
| Basic.Ground | ground2 | ||
| Basic.Resistor | resistor1 | ||
| Basic.Resistor | resistor2 | ||
| Sensors.CurrentSensor | currentSensor1 | ||
| Sensors.CurrentSensor | currentSensor2 | ||
| Modelica.Blocks.Continuous.Integrator | integrator1 | ||
| Modelica.Blocks.Continuous.Der | der1 | ||
| Modelica.Blocks.Continuous.Integrator | integrator2 | ||
| Modelica.Blocks.Continuous.Der | der2 |