# Model generation

The required steps to generate the JSim model are the following:

## Draw the network

To draw the network, use the cursor to choose the node types from the toolbar and insert them by clicking in the canvas in any area. It is then possible to simply drag the icon to move the node.

![Nodes insertion](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2F-MN43b3aZzKCGenmUnGg%2F-MN454px1Cq4za0KfFz3%2Fjs-mg-nodes.png?alt=media\&token=b30a0967-1f2e-4829-b42e-6ae8524c4208)

After all the required nodes are included, it is necessary to draw the connection between them. The drawing connections mode is activate by clicking on the highlighted icon (see figure). To connect two nodes simply click on the first node and drag it. An arrow will appear. Move to the following node and release, the two nodes are now connected.

![Nodes connection](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2F-MN43b3aZzKCGenmUnGg%2F-MN45_GdT_6CNSSEJ47w%2Fjs-mg-connection.png?alt=media\&token=f84a0a8f-b4c6-4ec1-b8c2-3e0376f5da4c)

## Customer Classes

After the model draw, it is necessary to define the customer classes that will be in the system and to define a *Reference Station* for each one of the&#x6D;*.*

## Object parameters

## Performance Indices

## Finite Capacity Regions
