modeci_mdf.mdf.OutputPort

class modeci_mdf.mdf.OutputPort(id: str, value: Optional[str] = None, shape=None, type: Optional[str] = None, *, metadata: Optional[Dict[str, Any]] = 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 (Optional[str]) – The value of the OutputPort in terms of the InputPort, Function values, and Parameter values.

  • shape (Optional[Tuple[int, ...]]) – 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 (Optional[str]) – The data type of the output sent by a port.

Method generated by attrs for class OutputPort.

Methods