Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-02297// Views: AA-02297// Created: 2024-03-28 13:46:28// Last Updated: 2024-03-28 14:52:11
Problem & Solution
Smart Inverter library: block S-Function does not exist error

Problem


Trying to run a model using Smart Inverter Library but get theerror message that the S-Function of the block does not exist: 



Solution


To solve this issue, first, check if you are using ARTEMiS 7.7.2 version or newer. For this use the “ver” command on Matlab.

Additionally, to be able to use these blocks you must have the SMARTINVERTER library available on the HOST and TARGET licenses for RT-LAB (it is mandatory to have it on both licenses).

Open the Smart Inverter library and check that it is organized in blocks (like "folders")


Then check the path presented on the block which is getting the error. maybe this will be different from the one where the block is really located.


For example, In the error presented above, the problem is in the SecondaryControl3Phase block. When we open the block mask it makes reference to the path below:


But in the Smart_inverter_Library we don't have the Secondary Control block (as we can see in the previous image with the library organization).

In this case. changing the path on the mask to Smart_Inverter_Library/ Grid Following / Secondary Control, will solve the issue. 


I tis important to identify the path where the block from Smart Inverter Library is placed to allow the proper link.