Component Licensing

 

Component licensing allows component designers to restrict the use of their custom components to specific PSCAD users, on a per certificate license basis. As such, a custom model can be freely distributed, perhaps even made available for public download, but the actual usage of that component in an EMTDC simulation is blocked, unless a specific user’s certificate license enables its use.

 

It is important to note that this feature simply restricts a component’s usage in an EMTDC simulation, via modifications to the corresponding source code. It is up to the component designer to ensure that this source code is still compiled into binary (i.e. *.lib or *.dll), to protect intellectual property before being sent off to the client.

Readying Your Custom Component

In order to ready your component to use this feature, some minor modifications must first be made to the source code of each custom component you intend to license.

Requesting a Certificate License Change for Your Client

Once your custom component model has been readied for licensing, the final step in the process is to contact the PSCAD Sales Desk (sales@pscad.com) to request a modification to your client’s license certificate; following the modification, they will be able to use your model in their EMTDC simulations.

The Component Licensing Function

The functions that are used, to check whether a particular component is licensed for use in an EMTDC simulation, are Fortran and C-language functions called 'ENSURE_COMPONENT_LICENSE' and 'ENSURE_COMPONENT_LICENSE_C', which include four input arguments:

 

CALL  ENSURE_COMPONENT_LICENSE(CHARACTER name, CHARACTER guid, CHARACTER key, INTEGER count)

 

void _cdecl  ENSURE_COMPONENT_LICENSE_C(CHARACTER name, CHARACTER guid, CHARACTER key, INTEGER count)

 

The arguments are described as follows: