|
|
|
|
@ -22,11 +22,15 @@ client = httpx.AsyncClient(timeout=300.0)
|
|
|
|
|
|
|
|
|
|
async def run_rbd_simulation(*, sim_hours: int, token):
|
|
|
|
|
sim_data = {
|
|
|
|
|
"SimulationName": "Simulation OH Reliability Target",
|
|
|
|
|
"SchematicName": "- TJB - Unit 3 -",
|
|
|
|
|
"SimSeed": 1,
|
|
|
|
|
"SimDuration": sim_hours,
|
|
|
|
|
"DurationUnit": "UHour",
|
|
|
|
|
"SimulationName": f"Simulasi TR OH {sim_hours}",
|
|
|
|
|
"SchematicName": "- TJB - Unit 3 -",
|
|
|
|
|
"SimSeed": 1,
|
|
|
|
|
"SimDuration": sim_hours,
|
|
|
|
|
"OverhaulInterval": sim_hours - 1201,
|
|
|
|
|
"DurationUnit": "UHour",
|
|
|
|
|
"SimNumRun": 1,
|
|
|
|
|
"IsDefault": False,
|
|
|
|
|
"OverhaulDuration": 1200
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
headers = {
|
|
|
|
|
|