Browse Source

First Demo

master
mahmood19227 1 year ago
parent
commit
8619d976a7
3 changed files with 6 additions and 4 deletions
  1. +2
    -2
      data_out.json
  2. +1
    -1
      redisContent.json
  3. +3
    -1
      simulatorManager.py

+ 2
- 2
data_out.json View File

@@ -1,5 +1,5 @@
{ {
"step": 502,
"step": 1,
"Warnings": { "Warnings": {
"PumpWithKellyDisconnected": false, "PumpWithKellyDisconnected": false,
"PumpWithTopdriveDisconnected": false, "PumpWithTopdriveDisconnected": false,
@@ -20,7 +20,7 @@
"DrillPipeParted": false, "DrillPipeParted": false,
"TripWithSlipsSet": false, "TripWithSlipsSet": false,
"Blowout": false, "Blowout": false,
"UndergroundBlowout": true,
"UndergroundBlowout": false,
"MaximumWellDepthExceeded": false, "MaximumWellDepthExceeded": false,
"CrownCollision": false, "CrownCollision": false,
"FloorCollision": false, "FloorCollision": false,


+ 1
- 1
redisContent.json
File diff suppressed because it is too large
View File


+ 3
- 1
simulatorManager.py View File

@@ -35,5 +35,7 @@ if __name__=='__main__':
process_exists = True process_exists = True
break break
if not process_exists: if not process_exists:
subprocess.Popen(['./SimulationCore2', redis_address,str(redis_port),redis_password,simulation_id,str(log_level),str(stepTime)], cwd=work_dir)
command = ['./SimulationCore2', redis_address,str(redis_port),redis_password,simulation_id,str(log_level),str(stepTime)]
print(command)
subprocess.Popen(command, cwd=work_dir)
time.sleep(5) time.sleep(5)

Loading…
Cancel
Save