Documentation Home Page OPAL-RT Schematic Editor Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

How to specify Back EMF parameters in the Schematic Editor ?

The PMSM block has a "Back EMF profile" parameter,  in the "Electrical" tab, which is a dropdown. When the "User defined" option is selected, you are allowed to specify a file which should contain the Back EMF values in the “Back EMF profile table" field.

This file has to be in a specific format which is described below.

What is the format of the Back EMF parameters file ?

The Back EMF parameters are described in a JSON format. The following parameters must appear in the file.

Paremeter (JSON key)

Value type

Unit

Description

Example

backEmfValues

double[1024]

N/A

One dimensional array of the back EMF waveform values.

The range of values must be from -1 to 1!

Needs to be 1024 values!

"backEmfValues": [
    -0.0,
    -0.005,
    -0.01,
[…]
0.01,
0.005
],

All the examples above concatenated would give in a valid JSON format:

  • No labels