Power / Motor_Energy_Harvester
Block Name: Motor_Energy_Harvester
Code File Location: VisualSim/actor/lib/power/Motor_Energy_Harvester
Block Overview:
- Provides a convinent way to emulate motor based power havertesrs,
- Supports different mechanism in time based Eg. Wind Turbine, and other motor based power harvesting
- Can be directly connected to device that has to be charged like battery
Description:
Two different types of power charge generation methods are available, Viz Motor Based Power Generation and Wind Based Power Generation. Sends out the double value equivalent to power generated on the output, it is used to trigger direct consumption components such as Battery.
This block provide two types of power harvestor, Motor Generator and Wind Based Power Generation
Use_Wind_Based parameter enables the Wind based power harvesting when it is set to true. Wind_Turbine_Setup defines a sequence of charge values with different amounts of time for each charge duration. The charge is constant during the time period. The Speed of rotation of the Rotor is specified in the table and the efficiency is specified. The power generated is calulated based on the Speed, Maximum Power Co-efficient, Air Density, rotor Radius and the Constant. All these are specified in the Parameters.
Use_Motor_Generator parameter enables the Motor based power generation. The generator setup defines a sequence of charge values with different amounts of time for each charge duration. The charge is constant during the time period. This mode also has a column for the RPM which can be used in downstream consumption. There is an efficiency value that reduces the usable charge.
One can change the parameter related to Wind turbine or motor based profile to obtaine different power outputs. While instaniating this block on to the BDE, it is importnt to update the SimTime to the top level simulator StopTime.
Parameters:
Parameter
|
Descrtipn
|
Value
|
Use_Motor_Generator
|
Activate the Motor Generator mode.
|
true /* Boolean true or false */
|
Motor_Charge_Setup
|
This is a table containing five columns. The first row must not be modified- ID RPM Duration ChargeCapacityWHR Efficiency ; There must be a space between columns followed by the ; at the end of each line. Look at the Example Models and the example here to understand how to compose the field value.
|
/* Motor-Generator Charge Profile */ ID RPM Duration ChargeCapacityWHR Efficiency ; 1 0 10.0 0.0 100.0 ; 2 2500 10.0 55.0 100.0 ; 3 2500 10.0 55.0 100.0 ; 4 4000 10.0 105.0 100.0 ; 5 4500 10.0 110.0 100.0 ; 6 4000 10.0 105.0 100.0 ; 7 2500 10.0 55.0 100.0 ; 8 2500 10.0 55.0 100.0 ; 9 0 10.0 0.0 100.0 ;
|
Use_Wind_Turbine
|
Activate the Wind based power harvesting mode.
|
false /* Boolean true or false */
|
Wind_Turbine_Setup
|
This is a table containing 4 columns, The first row must not be modified - ID Duration Speed Efficiency There must be a space between columns followed by the ; at the end of each line
|
/* Wind_Turbine Charge Profile */ ID Duration Speed Efficiency ; 1 4.0 3.728 95.0 ; 2 4.0 4.970 97.0 ; 3 4.0 5.592 100.0 ; 4 4.0 6.213 100.0 ; 5 4.0 4.970 97.0 ; 6 4.0 4.319 95.0 ;
|
r
|
Radius of the rotor of the turbine in meter.
|
1.0/*Rotor Radius in meter*/
|
row
|
Air density.
|
1.225/*kg/m3*/
|
k
|
Constant to convert Power Generated into Watt-Hour(used in the equation to calculate wind power harvested)
|
0.000133/*Constant*/
|
Cp
|
Maximum Power Co-efficient.
|
0.40/*Maximum Power Coefficient*/
|
SimTime
|
Global simulation time
|
1.0 /*in second */
|
Ports
Port Name
|
Description
|
Power_out
|
Power generated will be sent out on this port as a double value.
|
|