lizzy.sensors

class lizzy.sensors.Sensor(name: str, position: tuple[float, float, float])

This class represents a virtual sensor in the model.

Parameters:

position (tuple[float, float, float]) – The position of the sensor.

Properties

property name: str

The name of the sensor.

property position: ndarray

The (x,y,z) position of the sensor in 3D space. (read-only)

property pressure: float

The current value of resin pressure (Pa) at the sensor location. (read-only)

property velocity: ndarray

The current value of resin velocity (m/s) at the sensor location. (read-only)

property fill_factor: float

The current value of resin fill factor at the sensor location. (read-only)

property time: float

The current time in the simulation. (read-only)

Attributes

resin_arrived
trigger_time

Methods

get_latest(key: str)
info() str

Returns basic information about the sensor: its ID, position and the ID of the mesh node it is attached to.