References  Assisting the realtime running of an electrical power grid model for a helicopter   You can contact the CAPSIM's specialist of this activity:  By email  By phone: +33 (0)4 42 63 61 18 
Requirement: As part of the development of a simulation platform intended for use by helicopter pilot crews, a representative model of the electrical power grid for the pilot and the other systems which can be simulated in realtime was required.
CAPSIM was asked by its customer to develop this realtime model of the helicopter's electrical power grid containing the generators, batteries, DC distribution system and the various power consumption units.
The "realtime" constraint led to the use of a sufficiently rapid discrete solver with fixed time step, the electrical equipment and the power grid being developed in the AMESim environment.
This, therefore, involved studying the physical and behavioural phenomena to be modelled and proposing an adequate power grid model which could be run in realtime.
Realization: The solution used by CAPSIM to represent the system was a matrix model of the electrical power grid. One component, programmed in C and encapsulated in the AMESim environment, could perform a matrix inversion generating the branch currents and the voltages at the nodes of the power grid. The interface components between the command logic (command bits) and the component in C (the input to which was the resistance values of the branches of the loads and the voltage and current sources) were developed.
Results: The interest here is to benefit from a representative model of the physics, allowing realtime validation of the control system (the command logic of the switches of the power grid).
Moreover, the C code based on a robust matrix method (standard C functions) constitutes the basis of the C code for the realtime model of the helicopter electrical power grid on a platform which is yet to be defined.
Process executed at each calculation step
