This commit is contained in:
21
src/main.py
21
src/main.py
@ -1,16 +1,17 @@
|
||||
# This is a sample Python script.
|
||||
from pprint import pprint
|
||||
|
||||
# Press Shift+F10 to execute it or replace it with your code.
|
||||
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
|
||||
from scenarioplanner import Scenarioplanner
|
||||
from src import scenarioplanner
|
||||
|
||||
|
||||
def print_hi(name):
|
||||
# Use a breakpoint in the code line below to debug your script.
|
||||
print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
|
||||
def preparesimulation() -> Scenarioplanner:
|
||||
scenarioplanner = Scenarioplanner()
|
||||
scenarioplanner.simulationLength = 120
|
||||
scenarioplanner.createapplications()
|
||||
scenarioplanner.createclients(1000)
|
||||
return scenarioplanner
|
||||
|
||||
|
||||
# Press the green button in the gutter to run the script.
|
||||
if __name__ == '__main__':
|
||||
print_hi('PyCharm')
|
||||
|
||||
# See PyCharm help at https://www.jetbrains.com/help/pycharm/
|
||||
scenarioplanner = preparesimulation()
|
||||
pprint(scenarioplanner)
|
||||
|
Reference in New Issue
Block a user