Open-Source Tools for Transient Modeling
Tom Short [email protected]
1
2
3
IEEE Flash IEEE PES Lightning Performance of Overhead Lines Working Group
4
OpenETran
5
Modelica Landscape
• Modelica - Open modeling language
• Modelica standard library
• Modelica tools
Modelica.org
6
Modelica Standard Library
• Open-source library of models
– Electrical
– Electronic
– Mechanical
– Thermal
– Control systems
7
Modelica Tools
• Commercial
– Dymola
– MapleSim
– Wolfram SystemModeler
• Open source
– OpenModelica
– JModelica
8
9
FREE book by Michael Tiller
Surge Arrester Model
10
11
model Exponential "Simple arrester model "
extends Modelica.Electrical.Analog.Interfaces.OnePort;
parameter Modelica.SIunits.Voltage
Vdischarge(final min=0) = 30.E3
"10-kA discharge voltage";
parameter Real Exponent(final min=1) = 26
"Exponent coefficient";
equation
i = sign(v) * (v / Vdischarge)^Exponent * 10000;
annotation (...);
end Exponential;
OpenModelica
12
13
14
15
16
17
18
Models in a Browser
• OpenModelica
– Compiles Modelica to C
• Emscripten
– Compiles C to JavaScript (asm.js)
19
20
Innovative Uses for Modelica
• Simulations on the internet/intranet
• Hardware in the loop simulations
• Batch simulations with R, Python, or Matlab
• Optimization of model parameters
• Use models in Simulink
21
Modelica Work Still to do
• More models
– Frequency-dependent line models
• More industry usage and case studies
22
More information
• IEEE Flash / OpenETran
– http://www.ewh.ieee.org/soc/pes/lpdl/
– http://sourceforge.net/projects/ieeeflash/
– http://sourceforge.net/projects/epri-openetran/
• Modelica
– http://modelica.org
– http://openmodelica.org
– http://distributionhandbook.com
23
http://www.ewh.ieee.org/soc/pes/lpdl/http://sourceforge.net/projects/ieeeflash/http://sourceforge.net/projects/epri-openetran/http://sourceforge.net/projects/epri-openetran/http://sourceforge.net/projects/epri-openetran/http://modelica.org/http://openmodelica.org/http://distributionhandbook.com/