modeci_mdf.mdf.OutputPort

class modeci_mdf.mdf.OutputPort(id: str, value: str | None = None, shape=(), type: str | None = None, *, metadata: Dict[str, Any] | None = None)[source]

Bases: MdfBase

The OutputPort is an attribute of a Node which exports information to another Node connected by an Edge

Variables:
  • id (str) – Unique identifier for the output port.

  • value (str | None) – The value of the OutputPort in terms of the InputPort, Function values, and Parameter values.

  • shape (Tuple[int, ...] | None) – The shape of the output port. This uses the same syntax as numpy ndarray shapes (e.g., numpy.zeros(shape) would produce an array with the correct shape

  • type (str | None) – The data type of the output sent by a port.

Method generated by attrs for class OutputPort.

Methods