3. User-defined dynamic models
Documentation on creating and compiling user-defined dynamic models (custom exciters, governors, injectors, and two-port devices) is available in the STEPSS documentation.
PyRAMSES can load a custom compiled library at runtime by passing the library directory to the simulator:
import pyramses
ram = pyramses.sim(custLibDir='/path/to/custom_lib_dir')
Refer to the STEPSS documentation for instructions on writing and building custom model libraries.