/* --------------------------------------------------
Author: Anastasios Pallas / tcpallas@gmail.com
Version 1.0
Last Update: 2019-07-20
-------------------------------------------------- */


// Show Elements

// Hide Elements
sun.visible = false;
clouds.visible = false;
magnifier.visible = true;
zoom_area.visible = false;
diagram.visible = false;
diagram_area_close.visible = false;

light1.visible = false;
light2.visible = false;
fan.visible = false;
heater.visible = false;
fireplace.visible = false;
air_condition.visible = false;
kitchen.visible = false;
refrigerator.visible = false;
washing_machine.visible = false;
dishwasher.visible = false;
tv.visible = false;
pc.visible = false;
laptop.visible = false;
boiler.visible = false;
solar_boiler.visible = false;
iron.visible = false;
vacuum_cleaner.visible = false;

batteries_box.visible = false;
batteries_txt.visible = false;
panels_box.visible = false;
panels_txt.visible = false;


consume_box.visible = false;
consume_label.visible = false;
consume_txt.visible = false;

pv_box.visible = false;
pv_label.visible = false;
pv_txt.visible = false;

co2.visible = false;
co2_label.visible = false;
co2_lignite_txt.visible = false;
co2_petrol_txt.visible = false;
co2_gas_txt.visible = false;
co2_duration_txt.visible = false;
co2_duration_line.visible = false;
co2_area_day.visible = false;
co2_area_month.visible = false;
co2_area_year.visible = false;


var consuming_energy = 0;
var pv_energy = 0;
var pv_area_panels = 0;

var batteries_ideal = 0;
var pv_panels_ideal = 0;

var co2_lignite = 0;
var co2_petrol = 0;
var co2_gas = 0;
var co2_duration = 'day';


// Status
update_status();

// Update Stage
stage.update();

