Procedure calculates load combinations without crane loads in accordance with OBC 2015.
General information
Procedure OBC12__4_1_3_2__LoadCombinationsWithoutCraneLoads
returns minimum and maximum load combinations without crane loads in accordance with Ontario Building Code 2012 (including Table 4.1.3.2.A - Load Combinations without Crane Loads for Ultimate Limit States).
You can use this procedure in your applications and reports to calculate loads, forces, moments or other factors.
DLL
dystlab.multicode.dll
Usage format (Pascal)
procedure OBC12__4_1_3_2__LoadCombinationsWithoutCraneLoads(LimitState: Integer; D, L, S, W, E: Double;
var LCmin, LCmax, LCamin, LCamax: Double); stdcall; external [DllName];
Parameters:
- LimitState — limit state, can be 1 or 2 (1 means ULS, 2 means SLS);
- D — dead load;
- L — live load;
- S — snow load;
- W — wind load;
- E — earthquake load.
Variables:
- LCmin — minimum load value for all combinations;
- LCmax — maximum load value for all combinations;
- LCamin — absolute minimum load value for all combinations;
- LCamax — absolute maximum load value for all combinations.
Directives
- DllName — library name. If DLL included in installation pack, then DllName is 'dystlab.multicode.dll'.
Example for TechEditor
Next code calls procedure from DLL and shows standard message with extreme load combinations. Code can be used in applications for TechEditor.
uses
Classes, Dialogs;
procedure OBC12__4_1_3_2__LoadCombinationsWithoutCraneLoads(LimitState: Integer; D, L, S, W, E: Double;
var LCmin, LCmax, LCamin, LCamax: Double); stdcall; external 'dystlab.multicode.dll';
var
LCmin, LCmax, LCamin, LCamax: Double;
begin
OBC12__4_1_3_2__LoadCombinationsWithoutCraneLoads(1, 1.56, 2.4, 0, 0.5, 0, LCmin, LCmax, LCamin, LCamax);
ShowMessage(
'Min = ' + FloatToStr(LCmin) + #13#10 +
'Max = ' + FloatToStr(LCmax) + #13#10 +
'|Min| = ' + FloatToStr(LCamin) + #13#10 +
'|Max| = ' + FloatToStr(LCamax));
end;