-
Notifications
You must be signed in to change notification settings - Fork 52
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
Wind and snow load generation #20
Labels
Comments
Ana wrote some routines to compute wind action on cylindrical surfaces here. |
Hi @lcpt. What about snow load? Is there any routine? Thanks. |
Not much. There are some routines here about snow loads according to Swiss standards. |
Thanks. As a python comment: I think it is better to use dictionary instead of if else: retval= 1.2 # pesimistic asumption
if(riskCategory==1):
retval= 0.8
elif(riskCategory==2):
retval= 1.0
elif(riskCategory==3):
retval= 1.1
elif(riskCategory==4):
retval= 1.2
else:
lmsg.error('risk category: '+str(riskCategory)+' unknown.')
return retval convert to: riskcategory_importance_factors = {
1: 0.8,
2: 1.0,
3: 1.1,
4: 1.2,
}
importance_factor =riskcategory_importance_factors.get(riskCategory, None)
if importance_factor is None:
lmsg.error('risk category: '+str(riskCategory)+' unknown.')
importance_factor = 1.2
return importance_factor
```python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Write utilities that make easier (not automatic) to generate wind ans snow loads.
The text was updated successfully, but these errors were encountered: