JOE FIGHT?
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from src.Functions_Energy_Model import *
|
||||
from src.Functions_General import *
|
||||
import subprocess
|
||||
|
||||
location_ita = 'Biella' # location in Italian
|
||||
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'))
|
||||
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
|
||||
location_eng = location_italian_to_english(location_ita)
|
||||
|
||||
BIN
assets/joefight.mp4
Normal file
BIN
assets/joefight.mp4
Normal file
Binary file not shown.
@@ -198,3 +198,7 @@ category_id:
|
||||
altro: N
|
||||
idro: O
|
||||
cogeneratore: G
|
||||
|
||||
|
||||
# joe fight?
|
||||
joe_fight: false
|
||||
|
||||
Reference in New Issue
Block a user