-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi desim dev team 👋,
I am just looking at the example on the README:
from desim.interface import Des
from desim.data import NonTechCost, TimeFormat
from desim.simulation import Process
dsm = dict({
'Design Process': [0, 1, 0],
'Testing Process': [0, 0, 1],
'Manufacturing Process': [0, 0, 0.2]
})
processes = [
Process(1, 10000, 100000, 0, 'Desing Process', NonTechCost.CONTINOUSLY, TimeFormat.MONTH),
Process(3, 5000, 30000, 0, 'Testing Process', NonTechCost.CONTINOUSLY, TimeFormat.YEAR),
Process(4, 300, 200, 100, 'Manufacturing Process', NonTechCost.CONTINOUSLY, TimeFormat.HOUR),
]
non_tech_processes = [
NonTechnicalProcess("Quality Mangement Process", 10000, 0)
]
flow_time = 3
flow_rate = 260
flow_start_process = "Testing Process"
non_tech_cost = NonTechCost.CONTINOUSLY
time_unit = TimeFormat.YEAR
until = 30
discount_rate = 0.08
runs = 100
sim = Des()
results = sim.run_monte_carlo_simulation(flow_time, flow_rate, flow_start_process, processes,
non_tech_processes, non_tech_cost, dsm, time_unit, discount_rate, until, runs)I don't see in the example where NonTechnicalProcess gets imported. Is that a typo/bug, or is it being pulled into the namespace indirectly?
Metadata
Metadata
Assignees
Labels
No labels