summaryrefslogtreecommitdiff
path: root/modeling/model_env.py
blob: fd262c6d222a694edcc8cc7a8874e2882205d11a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env python3


def generate_environments():
    envs = []

    screen = {}
    generate_variables(screen)
    # generate_procedures(screen)

    envs.append(screen)

    return envs


def generate_procedures(screen):
    screen["Procedure1"] = {"text": "proc1", "position": (400, 100)}
    screen["Procedure2"] = {"text": "proc2", "position": (400, 200)}
    screen["Procedure3"] = {"text": "proc3", "position": (400, 300)}
    screen["Procedure4"] = {"text": "proc4", "position": (400, 400)}
    screen["Procedure5"] = {"text": "proc5", "position": (400, 500)}
    screen["ProcedureOverall"] = {"text": "proc_overall", "position": (400, 500)}


def generate_variables(screen):
    # Variables
    screen["Algen"] = {"text": "Algen", "position": (100, 100)}
    screen["AlgenVar"] = {"text": "3", "position": (100, 200)}
    screen["Mineralien"] = {"text": "Mineralien", "position": (200, 100)}
    screen["MineralienVar"] = {"text": "9", "position": (200, 200)}

    screen["Gifte"] = {"text": "Gifte", "position": (300, 100)}
    screen["GifteVar1"] = {"text": "3", "position": (300, 200)}
    screen["GifteVar2"] = {"text": "1", "position": (300, 300)}
    screen["GifteVar3"] = {"text": "8", "position": (300, 400)}
    screen["GifteVar4"] = {"text": "6", "position": (300, 500)}

    screen["Sandstein"] = {"text": "Sandstein", "position": (400, 100)}
    screen["SandsteinVar1"] = {"text": "3", "position": (400, 200)}
    screen["SandsteinVar2"] = {"text": "4", "position": (400, 300)}
    screen["SandsteinVar3"] = {"text": "5", "position": (400, 400)}
    screen["SandsteinVar4"] = {"text": "6", "position": (400, 500)}