Flux-AMESim co-simulation: complementary

Calculus of losses

As to the calculus of the losses, Flux proposes the following two calculi:

Type Losses by Joule effect in … Flux Sensor
Electrical circuit losses the coils and the resistors of the electrical circuit FLUX_LOSSES_COND_BOB + FLUX_LOSSES_RESISTANCE
Electromagnetic losses the regions of solid conductor type – eddy current losses FLUX_LOSSES_DOMAIN

Supplementary parameters

Concerning the parameters management, it is possible to distinguish the input and output parameters, necessary for the proper operation of the

co-simulation and the supplementary parameters, respectively.

Parameter Management

Input parameters (AMESIM_...)

Output parameter (FLUX_...),

automatic /

invisible to the user

Supplementary parameter (PARAMETER …) The user's responsibility

Les paramètres supplémentaires sont des paramètres Flux dont les valeurs peuvent être transmises à AMESim.

These parameters are :

  • geometric parameters (independent)
  • I/O parameters type

Project F2A

While the coupling component is validated by the user (phase 1), the Flux software generates the new Flux project for the co-simulation (named F2A).

This project will be called by AMESim during the co-simulation. The management of the input parameters (amesim_...), of the output parameters (flux_...) and of the supplementary ones (parameter …) is invisible for the user.

The new project NAME_PROJECTF2A.FLU is characterized by:

  • name :

    same name as the initial project with the suffix F2A

  • localization :

    same folder as the initial project

File F2A

In the project F2A, Flux stores a data file of the coupling (AMESIM_LINACT.F2A or AMESIM_MOTOR.F2A).

This file is stored in the persistent folder.

It facilitates storage of the following data:

[MAIN]
VersionF2A = 1.0
Version coupling component
[SERVER]
Server = FLUX2D_12.0_32
MEMSIZN3 = 78643200
MEMSIZC3 = 655360
JVM_MEMORY = 200
CAO_DEFLAN = 1
Flux information server version, numerical memory, character and HCI. A value of "0" corresponds to dynamic memory mode (MEMSIZN3 and MEMSIZC3).
[INPUTS]
AMESIM_VOLTAGE.name = AMESIM_VOLTAGE
AMESIM_POSITION.name = AMESIM_POSITION
AMESIM_TEMPERATURE.name = AMESIM_TEMPERATURE

Input parameters

(for Flux)

[OUTPUTS]
FLUX_CURRENT.name = FLUX_CURRENT
FLUX_FORCE.name = FLUX_FORCE
FLUX_LOSSES.name = FLUX_LOSSES

Output parameters

(for AMESim)

[PARAMETERS]
Parameter1.name = STATOR_X
Parameter1.value = 7.71941033972284
Parameter2.name = DXROTOR
Parameter2.value = 0
Supplementary parameters (for AMESim)