DAQ - Opal-RT¶
Parameters¶
- rt_lab_version: RT-LAB Version (default: 2020.4)
- target_name: RT-LAB Target Name (default: RTServer)
- sample_interval: Sample Interval (ms) (default: 1000)
- project_dir_path: Project Directory Path (may include llp file with extension) (default: %APPDATA%..\local\LabTest\RT-LAB\IEEE_1547_Testing_PHIL.llp)
- rt_lab_model: RT-LAB Model (.mdl or .slx) (default: IEEE_1547_Testing_PHIL.mdl)
- rt_mode: Real-Time Simulation Mode (default: Hardware)
- datalogger_signal_group_name: Waveform testing mode (default: VRT)
- use_built_in_recording: Capture data via getSignalbyName calls? (default: Yes)
- use_datalogger: Capture data from the RT-LAB Datalogger? (default: No)
- map: Opal Analog Channel Map (e.g. simulink blocks, etc.) (default: Standard IEEE 1547 Map)
- mapping_csv_path: Channel CSV map path, relative to RT-LAB model (default: signal_map.csv)
- wfm_dir: Waveform Directory (default: \models\IEEE_1547_Testing_PHIL\ieee_1547_testing_phil_sm_source\OpREDHAWK64target)
- wfm_chan_list: Waveform Channel List (default: Generic)
- wfm_chan_list_custom: Custom Waveform Channel List (default: TIME, AC_V_1, AC_V_2, AC_V_3, AC_I_1, AC_I_2, AC_I_3, EXT)
- data_name: Waveform Data File Name (.mat) (default: WAV.mat)
- keep_sim_running: Connect Directly to Running RT-Lab Simulation (default: No)
- initialize_simulation: Set Opal Target and Stop Time (Typically Unneeded) (default: Yes)
- start_delay: Post Simulation Start Delay (s) (default: 0)
- hil_stop_time: Simulation Stop Time (s) (default: 3600.0)
Operations¶
Get Operations¶
- Device Info
- Query
- qstr: Query String (default: )
- Current Power Data
- Data Thread Record
- Output Current
- Load data log from csv
- filepath: CSV Path (default: )
- Harmonics
- orders: Harmonic orders to capture (default: 50)
- DC Component
- Waveform Data from Local File
Set Operations¶
- Command
- cstr: Command String (default: )
- Trigger
- pre_trig: Pre-Trigger Time (s) (default: 0.5)
- post_trig: Post-Trigger Time (s) (default: 2.5)
- sample_rate: Sample Rate (Hz) (default: 5000)
- trigger_level: Trigger Level (%) (default: 50.0)
- trigger_slope: Trigger Slope (default: RISE)
- Simulation
- Data
- Waveform Results Processing
- file_path_override: Override Internal File Path (default: No)
- sliding_window: RMS and Freq Sliding Window (s) (default: 0.1666)
- get_trip_time: Trip - Determine Trip Time (s) (default: No)
- trip_level: Trip - Pre-Disturbance Current Threshold (%) (default: 1.0)
- confirm_ride_through: RT - Verify Ride-Through Mandatory Operation (default: No)
- rt_level: RT - Pre-Disturbance Threshold (%) (default: 80.0)
- get_mc_cease_to_energize: MC - Determine Momentary Cessation Cease to Energize Time (default: No)
- mc_level: MC - Pre-Disturbance Current Threshold (%) (default: 1.0)
- get_mc_return_time: MC - Determine Momentary Cessation Return Time (default: No)
- mc_return_level: MC - Pre-Disturbance Return Threshold (%) (default: 80.0)
- Data
- RMS Data
- rms_csv_location: Directory Path Override (default: )