HOME

TheInfoList



OR:

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 In mathematics, an ordinary differential equation (ODE) is a differential equation whose unknown(s) consists of one (or more) function(s) of one variable and involves the derivatives of those functions. The term ''ordinary'' is used in contras ...
and
Discrete event simulation A discrete-event simulation (DES) models the operation of a system as a ( discrete) sequence of events in time. Each event occurs at a particular instant in time and marks a change of state in the system. Between consecutive events, no change in ...
. 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 Object-oriented programming (OOP) is a programming paradigm based on the concept of " objects", which can contain data and code. The data is in the form of fields (often known as attributes or ''properties''), and the code is in the form of ...
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.


Origins

The EcosimPro Tool Project began in 1989 with funds from the
European Space Agency , owners = , headquarters = Paris, Île-de-France, France , coordinates = , spaceport = Guiana Space Centre , seal = File:ESA emblem seal.png , seal_size = 130px , image = Views in the Main Control Room (120 ...
(ESA) and with the goal of simulating environmental control and life support systems for crewed spacecraft, such as the
Hermes shuttle Hermes was a proposed spaceplane designed by the French Centre National d'Études Spatiales (CNES) in 1975, and later by the European Space Agency (ESA). It was superficially similar to the American Boeing X-20 Dyna-Soar and the larger Space S ...
. 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'': : \frac = (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: :x^2 + y^2 = L^2 By decomposing force in Cartesians we get :F_x = -T \frac and :F_y = -T \frac-M\;g To obtain the differential equations we can convert: :F_x = M\;a_x = M\;\ddot and :F_y = M\;a_y = M\;\ddot ''(note: \dot is the first derivative of the position and equals the speed. \ddot 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

* Symbolic handling of equations (e.g.: derivation, etc.) * Robust solvers for non-linear and DAE systems: DASSL, Newton-Raphson * Math wizards for: ** Defining boundary conditions ** Solving algebraic loops ** Reducing high-index DAE problems * Clever mathematical algorithms based on graph theory to minimize the number of unknown variables and equations * Powerful discrete events handler to stop simulation when an event occurs


Applications

EcosimPro has been used in many fields and disciplines. The following paragraphs show several applications * Control: This library provides components for the representation of control loops, including the typical P, PI and PID controllers, and signal processors, etc. * Turbojet: Library for modelling turbine reactors. With components such as turbines, nozzles, compressors, burners, etc. * ECLSS: A complete library of components has been developed to model complex environmental conditions for crewed spacecraft * ESPSS: A standard set of libraries with components and functions for the simulation of launch vehicle propulsion systems and spacecraft propulsion systems. * Thermal: This library contains the components necessary to develop Lumped Parameter Thermal Models, i.e., diffusive thermal nodes, boundary thermal nodes, linear thermal conductors and radiative thermal conductors. * Energy: In the field of Energy, EcosimPro has been used in different applications such as heat balances (Thermal_Balance), hydraulic systems (Pipe Networks Tool), molten carbonate and alkaline fuel cells, etc. * Cryogenics: Simulation of large cryogenics systems, for instance, at CERN. * Others: ** Water treatment ** Waste treatment ** Agri-food Biotech processes ** Etc.


See also

* AMESim * APMonitor *
Dymola Dymola is a commercial modeling and simulation environment based on the open Modelica modeling language. Large and complex systems are composed of component models; mathematical equations describe the dynamic behavior of the system. Developed b ...
* MapleSim *
Model-based design Model-based design (MBD) is a mathematical and visual method of addressing problems associated with designing complex control, signal processing and communication systems. It is used in many motion control, industrial equipment, aerospace, and aut ...
*
Modelica Modelica is an object-oriented, declarative, multi-domain modeling language for component-oriented modeling of complex systems, e.g., systems containing mechanical, electrical, electronic, hydraulic, thermal, control, electric power or process-o ...
* SimulationX *
Simulink Simulink is a MATLAB-based graphical programming environment for modeling, simulating and analyzing multidomain dynamical systems. Its primary interface is a graphical block diagramming tool and a customizable set of block libraries. It offers t ...
* Wolfram SystemModeler


References


External links

* {{Official website, www.ecosimpro.com Simulation software Computer-aided engineering software Scientific simulation software