Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floorspan not used in building model #12

Open
ArnaudYK opened this issue Aug 23, 2023 · 0 comments
Open

Floorspan not used in building model #12

ArnaudYK opened this issue Aug 23, 2023 · 0 comments

Comments

@ArnaudYK
Copy link
Collaborator

The floorspan is not used by the building module. In the next release this will be fixed. A temporary workaround is to alter the code in Hgebouw.py.

Change:

if "vloerOverspanning" in Gebouw:
    vloerOverspanning     = np.array(Vloer["vloerOverspanning"]); 
    var_vloerOverspanning = np.array(Vloer["var_vloerOverspanning"]); 
else:
    vloerOverspanning = [];

into:

if "vloerOverspanning" in Vloer:
    vloerOverspanning     = np.array(Vloer["vloerOverspanning"]); 
    if "var_vloerOverspanning" in Vloer:
        var_vloerOverspanning = np.array(Vloer["var_vloerOverspanning"]);
    else:
        var_vloerOverspanning=[]
else:
    vloerOverspanning = [];  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant