Click or drag to resize

APIaddNTCspectrum Method

Add a NTC 2018 spectrum from given parameters.
REST path: /function/ntcspectrum/[lat]/[lon]/[LS]/[soil]/[Vr]/[St]/[hh]/[q0]/[isHregular]/[damping]/[customAg]/[VerticalComponent]
REST verb: GET

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public int addNTCspectrum(
	double lat,
	double lon,
	string LS,
	string soil,
	double Vr,
	double St,
	double hh = 1,
	double q0 = 1,
	bool isHregular = false,
	double damping = 0.05,
	double customAg = 0,
	bool VerticalComponent = false
)

Parameters

lat  Double
Latitude in WGS84. Location must be in Italy.
lon  Double
Longitude in WGS84. Location must be in Italy.
LS  String
Limit State for spectrum: SLO, SLD, SLV or SLC
soil  String
Soil category, letters A,B,C,D,E
Vr  Double
Reference life as per NTC 2018, in years
St  Double
Topographic coefficient for the site
hh  Double  (Optional)
h/H ratio of building site, maximum is 1
q0  Double  (Optional)
Behaviour factor, default is 1.0 (elastic spectrum)
isHregular  Boolean  (Optional)
True for regular shaped buildings over height
damping  Double  (Optional)
Damping ratio for the spectrum. Eg. 0.05
customAg  Double  (Optional)
Optional. Spectral acceleration for T=0
VerticalComponent  Boolean  (Optional)
True if spectrum is for vertical component. Deafult is false.

Return Value

Int32
The ID of the added spectral function
See Also