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.
Examples | CIGRE integrator
Location
This example model can be found in the software under the category "How To" with the filename "CIGRE_Integrator.ecf".
Description
This model demonstrates the implementation of a user-defined block that follows the IEEE/Cigre DLL Modeling Method V1.1 (February 29, 2024).
Simulation and Results
The model consists of two blocks that are performing a numerical integration using the forward Euler method.
Let be the transfer function in the Z-domain. Given an input signal
to the block, the output signal
evolves according to the following recursive relation:
|
The CIGRE user-defined block is implemented using a shared library (.dll).
A second block replicates the same integrator using a transfer function.
Additionally, a point-on-wave feature is incorporated into the model to synchronize input signals during Scopeview acquisitions.
To visualize the results of a running simulation, a ScopeView template named "CIGRE_Integrator.svt" is provided.
This enables quick comparisons of all block output values against each other.
Both blocks are non-direct feedthrough blocks, as they each contain a state.
CIGRE_1.input is the signal entering the CIGRE library
Hz1.u is the signal entering the transfer function
CIGRE_1.output is the signal that is generated from the CIGRE library
Hz1.y is the signal that is generated from the transfer function
Results Interpretation:
As expected, the input values entering each block are identical, and all output values (integrated signals) match. This validates that the CIGRE block correctly integrates signals in alignment with the transfer function.
References
[ 1 ] https://www.cigre.org/
See Also
The CIGRE Integrator source files are located in your installation folder: Windows\demo\How To\CIGRE_Integrator\references\src
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