Black-boxing allows users to design their control system schematically, and then quickly collapse it into a pre-compiled, binary version of itself, thereby protecting any intellectual property invested in the design, before distributing the model to clients. The black-box algorithm performs the following functions automatically:
- FORTRAN Source Generation: PSCAD already generates FORTRAN source, however this code is written specifically to interact with EMTDC as part of the greater simulation project; and is not formatted to be used as external source. The black box function will generate FORTRAN source code specifically formatted to be used as external source for inclusion in any EMTDC simulation.
- Automatic Object/Library file Creation: The option to compile the generated source file into an object file is provided.
- Automatic Component Creation: A new, non-module component definition and instance is created, based on the contents of the module schematic canvas. This includes ports, parameters, graphics and script segments.