Access to parameter data
Last update: 03.07.2024
Access to parameter data
Parameter data are data representing single-valued, non-field data. Since each parameter stores only a single value, the participant library does not provide access via shared memory (as is done with Heavyweight Data). Instead, the participant library provides access via direct get and set calls for the parameter data.
For more information, see:
- Relevant concepts
- Input parameter data
- Output parameter data
Relevant concepts
Input data
Input data is for input parameters provided to the participant by System Coupling.
Output data
Output data is for output parameters provided to System Coupling by the participant.
Input parameter data
Access to input parameters, that is parameter data that are provided to the participant by System Coupling, is only available after update inputs has been called. Note that a copy of the parameter value will be sent to the participant.
Examples of getting input parameter data
C++
C
Python
Output parameter data
Access to output parameters, that is parameter data that are sent to System Coupling by the participant, may be done before initialize analysis (to provide initial values for the parameter) and prior to update outputs (during the solution loop). Note that a copy of the parameter value will be sent to system coupling.