The S2S is an extensible framework in which new classes can be created when models with objects describing specific behavior are required. Each new class has to be integrated into the modeling front end and with the rest of the model so that objects of other classes can interact with objects created from the new class.
In order to be integrated with the modeling front-end and the simulation object, it has to implement the interface IModelObject. By implementing this interface, the new class will contain a ModelNode that will keep track of its position in the modeling tree and will also allow other objects to navigate through it.
Creating a new class involves the following steps:
- Decide the position of the class in the model tree.
- Identify how a new object of the class will be created