This commit is contained in:
Andrew Clark 2020-08-14 16:43:01 -04:00
parent 1960d98842
commit 2b216a7f81
8 changed files with 36533 additions and 390 deletions

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

View File

@ -49,7 +49,5 @@ def get_configs():
Function to extract the configuration information for display in a notebook.
'''
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

View File

@ -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: