Modelica Code Generation with Polymorphic Arrays and Records Used in Wind Turbine Modeling
2012
At Fraunhofer Institute for Wind Energy and Energy System Technology IWES a simulation software for offshore wind farms is being developed, concentrating on the ability to define physical models at different levels of detail. Therefore parameterizable models representing parts of wind turbines are defined that can be transformed for various purposes like simulation with Finite Element Method (FEM) tools or Modelica solvers. This paper describes the concepts of purely parametric physical models and code generation. It is elucidated how models of different complexity can be transformed into each other by model driven development techniques. Thereby the focus is set on the generation of Modelica code and it is explained how the use of Modelica libraries simplifies the generation of simulatable code. During the development of generators for Modelica, issues arose regarding type compatibility of arrays with different sizes when using polymorphism. These issues are explained by an example and possible en
Keywords:
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
12
References
1
Citations
NaN
KQI