Model: Load
Entity Description - Load
The entity description indicates that three parameters are accepted by the load model: nominal power p_nom in Watts, nominal voltage v_nom in Volts, and ramp time t_ramp in seconds. It is not necessary to use all parameters specified in the GENERIC declaration within each architecture of the model.
|
LIBRARY IEEE; USE IEEE.ELECTRICAL_SYSTEMS.ALL; ENTITY load IS GENERIC( p_nom: REAL := 1.0; v_nom: VOLTAGE := 14.0; t_ramp: REAL := 1.0e-5); PORT( TERMINAL p,m : ELECTRICAL; SIGNAL on_ctrl : IN REAL := 0.0); END ENTITY load; |
The ENTITY description also defines two electrical ports, p and m, for the load model. This declaration requires the use of the ieee.electrical_systems package. A signal port for the control signal on_ctrl of type REAL is also defined.