The invention relates to the technical field of
joint simulation, and particularly discloses an FMI standard-based
joint simulation method between cloud chaining tool one-dimensional models, which comprises the following steps of: reading all FMU description
XML (
Extensible Markup Language) files and global
coupling configuration files, performing model analysis on an FMU meeting the FMI standard, instantiating the FMU, initializing the FMU, and configuring
simulation; operation of continuous
state variable derivative obtaining,
time synchronization, input vector setting, continuous
state variable updating,
event monitoring vector obtaining, continuous
state vector re-obtaining and output vector updating is carried out in each instantiated FMU, global
state control and
data control among the multiple FMUs are carried out, and
time sequence data are obtained and stored in real time; the generated data are stored, and distributed
joint simulation is carried out on incompatible FMUs; and terminating
simulation, analyzing the model instance and releasing the memory. According to the method, accurate synchronization of
simulation time is realized, including fixed step synchronization and event-driven synchronization mechanisms, so as to adapt to the requirements of different simulation tasks.