Jobclasses

class pyJMT.OpenClass(model, name, priority=0)

This is the OpenClass, it’s intended to represent an open job class.

Parameters:
  • model (Network) – The model to which this class belongs.

  • name (str) – The name of the class.

  • priority (int) – The priority of this class, default is 0.

class pyJMT.ClosedClass(model, name, population, sourceNode, priority=0)

This is the ClosedClass, it’s intended to represent a closed job class.

Parameters:
  • model (Network) – The model to which this class belongs.

  • name (str) – The name of the class.

  • population (int) – The population of this class.

  • sourceNode (Node) – The source node for this class.

  • priority (int) – The priority of this class, default is 0.