EcosimPro explained

EcosimPro
Latest Release Version:5.6.0
Latest Preview Version:5.4.19
Operating System:Microsoft Windows

EcosimPro is a simulation tool developed by Empresarios Agrupados A.I.E for modelling simple and complex physical processes that can be expressed in terms of Differential algebraic equations or Ordinary differential equations and Discrete event simulation.

The application runs on the various Microsoft Windows platforms and uses its own graphic environment for model design.

The modelling of physical components is based on the EcosimPro language (EL) which is very similar to other conventional Object-oriented programming[1] languages but is powerful enough to model continuous and discrete processes.

This tool employs a set of libraries containing various types of components (mechanical, electrical, pneumatic, hydraulic, etc.) that can be reused to model any type of system.

It is used within ESA for propulsion systems analysis and is the recommended ESA analysis tool for ECLS systems.[2]

Origins

The EcosimPro Tool Project began in 1989 with funds from the European Space Agency (ESA) and with the goal of simulating environmental control and life support systems for crewed spacecraft,[3] such as the Hermes shuttle.The multidisciplinary nature of this modelling tool led to its use in many other disciplines, including fluid mechanics, chemical processing, control, energy, propulsion and flight dynamics. These complex applications have demonstrated that EcosimPro is very robust and ready for use in many other fields.

The modelling language

Code examples

Differential equation
To familiarize yourself with the use of EcosimPro, first create a simple component to solve a differential equation. Although EcosimPro is designed to simulate complex systems, it can also be used independently of a physical system as if it were a pure equation solver. The example in this section illustrates this type of use. It solves the following differential equation to introduce a delay to variable x:

dy
dt

=(x-y)/tau

which is equivalent to

y'=(x-y)/tau

where x and y have a time dependence that will be defined in the experiment. Tau is datum provided given by the user; we will use a value of 0.6 seconds. This equation introduces a delay in the x variable with respect to y with value tau. To simulate this equation we will create an EcosimPro component with the equation in it.

The component to be simulated in EL is like thus:

COMPONENT equation_test
   DATA
      REAL tau = 0.6      "delay time (seconds)"
   DECLS
      REAL x, y
   CONTINUOUS
      y' = (x - y) / tau
END COMPONENT

Pendulum
One example of applied calculus could be the movement of a perfect pendulum (no friction taken into account). We would have the following data: the force of gravity ‘g’; the length of the pendulum ‘L’; and the pendulum's mass ‘M’. As variables to be calculated we would have: the Cartesian position at each moment in time of the pendulum ‘x’ and ‘y’ and the tension on the wire of the pendulum ‘T’. The equations that define the model would be:

- Projecting the length of the cable on the Cartesian axes and applying Pythagoras’ theorem we get:

x2+y2=L2

By decomposing force in Cartesians we get

Fx=-T

x
L

and

Fy=-T

y
L

-Mg

To obtain the differential equations we can convert:

Fx=Max=M\ddot{x}

and

Fy=May=M\ddot{y}

(note:

x
is the first derivative of the position and equals the speed.

\ddot{x}

is the second derivative of the position and equals the acceleration)

This example can be found in the DEFAULT_LIB library as “pendulum.el”:

COMPONENT pendulum   "Pendulum example"
   DATA
      REAL g = 9.806               "Gravity (m/s^2)"
      REAL L = 1.                  "Pendulum longitude (m)"
      REAL M = 1.                  "Pendulum mass (kg)"
   DECLS
      REAL x                       "Pendulum X position (m)"
      REAL y                       "Pendulum Y position (m)"
      REAL T                       "Pendulum wire tension force (N)"
   CONTINUOUS
      x**2 + y**2 = L**2
      M * x'' = - T * (x / L)
      M * y'' = - T * (y / L) - M * g
END COMPONENT

The last two equations respectively express the accelerations, x’’ and y’’, on the X and Y axes

Maths capabilities

Applications

EcosimPro has been used in many fields and disciplines. The following paragraphs show several applications

See also

Notes and References

  1. Book: Object Oriented Software Construction . 2nd . Prentice Hall . Bertrand Meyer . 1997 . 0-13-629155-4 . registration .
  2. Web site: ESA: Thermal analysis software - EcosimPro . European Space Agency.
  3. Web site: ESA: Supporting Life . European Space Agency . May 1999 . Daniele Laurini . Alan Thirkettle . Klaus Bockstahler .
  4. Book: A Description of DASSL: A Differential/Algebraic System Solver SAND82-8637 . Linda R. Petzold . 1982.
  5. Book: Newton Methods for Nonlinear Problems. Affine Invariance and Adaptive Algorithms . Springer . P. Deuflhard . 2004 . Berlin . 3-540-21099-7.
  6. Book: Numerical Recipes in C: The Art of Scientific Computing . registration . Cambridge University Press . W. H. Press . B. P. Flannery . S. A. Teukolsky . W. T. Vetterling . 1992 . and 9.6 | isbn=0-521-43108-5 .
  7. 10.1137/0909014 . The Consistent Initialization of Differential-Algebraic Systems . March 1988 . C Pantelides . . 9 . 2 . 213–231.
  8. HM7B Simulation with ESPSS Tool on Ariane 5 ESC-A Upper Stage . AIAA . May 6, 2011 . Armin Isselhorst . July 2010 . 46th AIAA/ASME/SAE/ASEE Joint Propulsion Conference & Exhibit .
  9. A dynamic simulator for large scale cryogenic systems. . May 6, 2011 . B. Bradu . P. Gayet . S.I. Niculescu . 6th EUROSIM Congress on Modelling and Simulation . 2007 . Ljubljana, Slovenia . https://web.archive.org/web/20110707015429/http://www.ecosimpro.com/download/articles/CERN.2007.ecosimpro.large-scale-cryogenic-systems.pdf . July 7, 2011 . dead .