Skip to content
Snippets Groups Projects
Commit dea12ff6 authored by Sebastián Fernández's avatar Sebastián Fernández
Browse files

se agrega tiempo de estabilizacion /3 al tiempo de dosis calculado para...

se agrega tiempo de estabilizacion /3 al tiempo de dosis calculado para contemplar calentamiento de tubo
parent c0523d99
No related branches found
No related tags found
No related merge requests found
......@@ -615,8 +615,10 @@ switch(state)
case DOSE_CALCULATION:
DEBUGST_PRINT("state: DOSE_CALCULATION");
state = WAIT_TO_START;
remaining_desinfection_time = (int)(target_dose*1000/radiation_power + sec_wait_power_stabilization_period); // secs
// Calculo de tiempo de exposicion
// Dosis (mJ.cm-2) / (radiacion(uW.cm-2 /1000) + tiempo calantemiento(s)/3.
// Se agrega 1/3 de tiempo de calentamiento ya que al arranque no se irradia con la max potencia
remaining_desinfection_time = (int)(target_dose*1000/radiation_power + (sec_wait_power_stabilization_period/3)); // secs
tics_gral_passed = 0;
tics_on_passed = 0;
secs_on_passed = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment