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

C Code

Input/output
Input: u
Output: y

Parameters

Rules

u1, u2, etc are reserved for inputs
y1, y2, etc. are used for outputs
All inputs, outputs and modifiable parameters are double

Examples

double a = 1.23; b = 3.45
y1 = a · u1/* output 1 */
y2 = a · u2/* output 2 */

Notes

C code errors will only be detected during compilation. This block is intended for
simple C code only. For more complex code, use the User-coded Model (UCM)

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter