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.y
  • integrator1.y
  • der1.y
  • currentSensor2.y
  • integrator2.y
  • der2.y

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TimeT110e-6Rise time
Modelica.Units.SI.TimeT2350e-6Decay time to half value

Components

TypeNameDefaultDescription
Sources.LightningImpulseVoltagelightning1
Sources.LightningImpulseCurrentlightning2
Basic.Groundground1
Basic.Groundground2
Basic.Resistorresistor1
Basic.Resistorresistor2
Sensors.CurrentSensorcurrentSensor1
Sensors.CurrentSensorcurrentSensor2
Modelica.Blocks.Continuous.Integratorintegrator1
Modelica.Blocks.Continuous.Derder1
Modelica.Blocks.Continuous.Integratorintegrator2
Modelica.Blocks.Continuous.Derder2