Class MM1Model
- java.lang.Object
-
- org.djutils.event.LocalEventProducer
-
- nl.tudelft.simulation.dsol.model.AbstractDsolModel<Double,DevsSimulator<Double>>
-
- nl.tudelft.simulation.dsol.tutorial.mm1.MM1Model
-
- All Implemented Interfaces:
Serializable,Remote,DsolModel<Double,DevsSimulator<Double>>,EventProducer
public class MM1Model extends AbstractDsolModel<Double,DevsSimulator<Double>>
The M/M/1 example as published in Simulation Modeling and Analysis by A.M. Law & W.D. Kelton section 1.4 and 2.4.Copyright (c) 2002-2023 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.
- Author:
- Peter Jacobs
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) SimTally<Double>dNtally dN.(package private) SimPersistent<Double>qNpersistent qN.(package private) Utilization<Double>uNutilization uN.-
Fields inherited from class nl.tudelft.simulation.dsol.model.AbstractDsolModel
inputParameterMap, outputStatistics, simulator, streamInformation
-
Fields inherited from interface org.djutils.event.EventProducer
FIRST_POSITION, LAST_POSITION
-
-
Constructor Summary
Constructors Constructor Description MM1Model(DevsSimulator<Double> simulator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconstructModel()-
Methods inherited from class nl.tudelft.simulation.dsol.model.AbstractDsolModel
addInputParameter, getInputParameter, getInputParameterMap, getOutputStatistics, getSimulator, getStreamInformation, setStreamInformation
-
Methods inherited from class org.djutils.event.LocalEventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireUnverifiedEvent, fireUnverifiedEvent, fireUnverifiedTimedEvent, fireUnverifiedTimedEvent, getEventListenerMap, getEventTypesWithListeners, getListenerReferences, hasListeners, numberOfListeners, removeAllListeners, removeAllListeners, removeListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nl.tudelft.simulation.dsol.model.DsolModel
getDefaultStream, getStream, getStreams, resetStreams
-
-
-
-
Field Detail
-
qN
SimPersistent<Double> qN
persistent qN.
-
uN
Utilization<Double> uN
utilization uN.
-
-
Constructor Detail
-
MM1Model
public MM1Model(DevsSimulator<Double> simulator)
- Parameters:
simulator- DevsSimulator<Double>; the simulator
-
-
Method Detail
-
constructModel
public void constructModel() throws SimRuntimeException- Throws:
SimRuntimeException
-
-