JOE FIGHT?

This commit is contained in:
2025-06-18 10:04:08 +02:00
parent 8e93adc368
commit fb507ecbc8
3 changed files with 11 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
from src.Functions_Energy_Model import * from src.Functions_Energy_Model import *
from src.Functions_General import * from src.Functions_General import *
import subprocess
location_ita = 'Biella' # location in Italian location_ita = 'Biella' # location in Italian
capacity = 100 # kWp capacity = 100 # kWp
@@ -10,7 +11,13 @@ derating_factor_percent = 1 # derating factor that reduce the efficiency of the
config = yaml.safe_load(open("config.yml", 'r')) config = yaml.safe_load(open("config.yml", 'r'))
path_export = str(config['filename_output_csv_gen_pv']) # path to save the results path_export = str(config['filename_output_csv_gen_pv']) # path to save the results
joe = config['joe_fight']
if(joe == True):
if shutil.which('wmplayer') is not None:
proc = subprocess.Popen(['ffplay', 'assets/joefight.mp4'])
else:
print("ffplay non installato, no joe fight.")
# INIZIALIZZAZIONE PARAMETRI PER SIMULAZIONE # INIZIALIZZAZIONE PARAMETRI PER SIMULAZIONE
location_eng = location_italian_to_english(location_ita) location_eng = location_italian_to_english(location_ita)

BIN
assets/joefight.mp4 Normal file

Binary file not shown.

View File

@@ -198,3 +198,7 @@ category_id:
altro: N altro: N
idro: O idro: O
cogeneratore: G cogeneratore: G
# joe fight?
joe_fight: false