Evcharger

evcharger - Electric or hybrid vehicles

Synopsis
class evcharger { (class residential_enduse;) enumeration {HIGH=2, MEDIUM=1, LOW=0} charger_type; enumeration {HYBRID=1, ELECTRIC=0} vehicle_type; enumeration {WORK=1, HOME=0, UNKNOWN=4294967295} state; double p_go_home [ unit/h ] ; double p_go_work [ unit/h ] ; double work_dist [ mile ] ; double capacity [ kWh ] ; double charge [ unit ] ; bool charge_at_work; double charge_throttle [ unit ] ; char1024 demand_profile; }

Default Evcharger
The minimum definition for an evcharger object is object evcharger { }

Evcharger Schedule
The evcharger object can be put on a schedule to control when it is at home, work, or on a trip. This can be done by using a schedule for the p_go_home and p_go_work properties (only control when it is at home or work) or by using the demand_profile property.

Example
module residential; module tape; clock { timezone PST+8PDT; timestamp '2001-07-10 00:00:00'; stoptime '2001-07-18 00:00:00'; }; object house { object evcharger { object recorder { file charge.csv; property charge; interval 600; }; 	};				 }