running
This commit is contained in:
parent
1960d98842
commit
2b216a7f81
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 82 KiB |
Binary file not shown.
Binary file not shown.
|
|
@ -50,6 +50,4 @@ def get_configs():
|
|||
'''
|
||||
|
||||
|
||||
sim_config,state_variables,seeds,partial_state_update_blocks
|
||||
|
||||
return sim_config,state_variables,seeds,partial_state_update_blocks
|
||||
return sim_config,state_variables,partial_state_update_blocks
|
||||
|
|
|
|||
|
|
@ -1,32 +1,9 @@
|
|||
import pandas as pd
|
||||
from .parts.utils import *
|
||||
from model import config
|
||||
from cadCAD.engine import ExecutionMode, ExecutionContext
|
||||
exec_mode = ExecutionMode()
|
||||
from cadCAD.engine import Executor
|
||||
from cadCAD.engine import ExecutionMode, ExecutionContext,Executor
|
||||
from cadCAD import configs
|
||||
|
||||
# def run(input_config=configs):
|
||||
# '''
|
||||
# Definition:
|
||||
# Run simulation
|
||||
|
||||
# Parameters:
|
||||
# input_config: Optional way to pass in system configuration
|
||||
# '''
|
||||
# # Single
|
||||
# exec_mode = ExecutionMode()
|
||||
# local_mode_ctx = ExecutionContext(context=exec_mode.local_mode)
|
||||
|
||||
# simulation = Executor(exec_context=local_mode_ctx, configs=input_config)
|
||||
# raw_system_events, tensor_field, sessions = simulation.execute()
|
||||
# # Result System Events DataFrame
|
||||
# df = pd.DataFrame(raw_system_events)
|
||||
|
||||
# return df
|
||||
|
||||
|
||||
|
||||
def run():
|
||||
'''
|
||||
Definition:
|
||||
|
|
|
|||
Loading…
Reference in New Issue