Class ExternalInputCoupling<T extends Number & Comparable<T>,P>
java.lang.Object
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.ExternalInputCoupling<T,P>
- Type Parameters:
T
- the time typeP
- the type of message the EIC accepts.
EIC class. EIC stands for External Input Coupling, which is a coupling between the outside of a coupled model and a component
within that coupled model. The definition can be found in Zeigler et al. (2000), p. 86-87.
Copyright (c) 2009-2024 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:
- Mamadou Seck
, Alexander Verbraeck
-
Constructor Summary
ConstructorDescriptionExternalInputCoupling
(InputPortInterface<T, P> fromPort, InputPortInterface<T, P> toPort) Make the wiring between output and input. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
ExternalInputCoupling
public ExternalInputCoupling(InputPortInterface<T, P> fromPort, InputPortInterface<T, throws ExceptionP> toPort) Make the wiring between output and input.- Parameters:
fromPort
- InputPortInterface<T,P>; the output port of the sending componenttoPort
- InputPortInterface<T,P>; input port of the receiving component- Throws:
Exception
- in case of wiring to self
-
-
Method Details
-
getFromPort
- Returns:
- the output port of the sending component.
-
getToPort
- Returns:
- the input port of the receiving component.
-