개정판 a346916f
issue #1489: HMB, Streamline 데이터 로딩 구현
Change-Id: I53276d68346abdf3024386ba5826fb734c015faa
DTI_PID/DTI_PID/Scripts/ID2.sql | ||
---|---|---|
173 | 173 |
); |
174 | 174 |
|
175 | 175 |
CREATE TABLE IF NOT EXISTS HMB ( |
176 |
UID VARCHAR (37) NOT NULL, |
|
177 |
STREAM_NO TEXT NOT NULL, |
|
178 |
NAME TEXT NOT NULL, |
|
179 |
UNIT TEXT, |
|
180 |
VALUE TEXT, |
|
181 |
PRIMARY KEY ( |
|
182 |
UID |
|
183 |
) |
|
176 |
UID VARCHAR (37) PRIMARY KEY, |
|
177 |
StreamNumber TEXT, |
|
178 |
StreamDescription TEXT, |
|
179 |
DATACASE TEXT, |
|
180 |
STREAMPHASE TEXT, |
|
181 |
Unitno TEXT, |
|
182 |
OVERALLVAPORFRACTION TEXT, |
|
183 |
OVERALLTEMPERATURE TEXT, |
|
184 |
OVERALLPRESSURE TEXT, |
|
185 |
OVERALLMOLECULARWEIGHT TEXT, |
|
186 |
OVERALLMOLARFLOW TEXT, |
|
187 |
OVERALLMASSFLOW TEXT, |
|
188 |
OVERALLACTUALVOLUMEFLOW TEXT, |
|
189 |
OVERALLMASSDENSITY TEXT, |
|
190 |
OVERALLVISCOSITY TEXT, |
|
191 |
OVERALLMASSHEATCAPACITY TEXT, |
|
192 |
OVERALLHEATFLOW TEXT, |
|
193 |
OverallMassEnthalpy TEXT, |
|
194 |
[OverallSp.Gravity] TEXT, |
|
195 |
OverallAPIGravity TEXT, |
|
196 |
OverallCriticalPressure TEXT, |
|
197 |
OverallCriticalTemperature TEXT, |
|
198 |
OverallUOPKfactor TEXT, |
|
199 |
LIQUIDMOLEFRACTION TEXT, |
|
200 |
VaporTemperature TEXT, |
|
201 |
VaporPressure TEXT, |
|
202 |
VaporPseudocriticalTemperature TEXT, |
|
203 |
VaporPseudocriticalPressure TEXT, |
|
204 |
VAPORMOLARRATE TEXT, |
|
205 |
VAPORMASSRATE TEXT, |
|
206 |
VAPORACTUALVOLUMERATE TEXT, |
|
207 |
[VAPORSTD.VOLUMERATE] TEXT, |
|
208 |
VAPORMOLECULARWEIGHT TEXT, |
|
209 |
VaporHeatFlow TEXT, |
|
210 |
VAPORCOMPRESSIBILITY TEXT, |
|
211 |
VAPORSPECIFICENTHALPY TEXT, |
|
212 |
VAPORSPECIFICHEATCAPACITY TEXT, |
|
213 |
IDEALVAPORSPECIFICHEATRATIO TEXT, |
|
214 |
VAPORACTUALDENSITY TEXT, |
|
215 |
VAPORTHERMALCONDUCTIVITY TEXT, |
|
216 |
VAPORVISCOSITY TEXT, |
|
217 |
LiquidTemperature TEXT, |
|
218 |
LiquidPressure TEXT, |
|
219 |
LiquidPseudocriticalTemperature TEXT, |
|
220 |
LiquidPseudocriticalPressure TEXT, |
|
221 |
LIQUIDMOLARRATE TEXT, |
|
222 |
LIQUIDMASSRATE TEXT, |
|
223 |
LIQUIDACTUALVOLUMEFLOW TEXT, |
|
224 |
[LIQUIDSTD.VOLUMEFLOW] TEXT, |
|
225 |
LIQUIDMOLECULARWEIGHT TEXT, |
|
226 |
LiquidHeatFlow TEXT, |
|
227 |
LIQUIDSPECIFICENTHALPY TEXT, |
|
228 |
LIQUIDBoilingPointPressureatStreamT TEXT, |
|
229 |
LIQUIDSPECIFICHEATCAPACITY TEXT, |
|
230 |
LIQUIDACTUALDENSITY TEXT, |
|
231 |
LiquidStdDensity TEXT, |
|
232 |
[LiquidSpecificGravity@15°C] TEXT, |
|
233 |
LIQUIDSURFACETENSION TEXT, |
|
234 |
LIQUIDTHERMALCONDUCTIVITY TEXT, |
|
235 |
LIQUIDVISCOSITY TEXT, |
|
236 |
AQUEOUSPseudocriticalTemperature TEXT, |
|
237 |
AQUEOUSPseudocriticalPressure TEXT, |
|
238 |
AQUEOUSMOLARRATE TEXT, |
|
239 |
AQUEOUSMASSRATE TEXT, |
|
240 |
AQUEOUSACTUALVOLUMEFLOW TEXT, |
|
241 |
[AQUEOUSSTD.LIQUIDFLOW] TEXT, |
|
242 |
AQUEOUSMolecularWeight TEXT, |
|
243 |
AQUEOUSHeatFlow TEXT, |
|
244 |
AQUEOUSSPECIFICENTHALPY TEXT, |
|
245 |
AQUEOUSBoilingPointPressureatStreamT TEXT, |
|
246 |
AQUEOUSSPECIFICHEATCAPACITY TEXT, |
|
247 |
AQUEOUSACTUALDENSITY TEXT, |
|
248 |
AQUEOUSStdDensity TEXT, |
|
249 |
[AQUEOUSSpecificGravity@15°C] TEXT, |
|
250 |
AQUEOUSSURFACETENSION TEXT, |
|
251 |
AQUEOUSTHERMALCONDUCTIVITY TEXT, |
|
252 |
AQUEOUSVISCOSITY TEXT, |
|
253 |
DataSource TEXT |
|
254 |
); |
|
255 |
|
|
256 |
|
|
257 |
CREATE TABLE IF NOT EXISTS Streamlines ( |
|
258 |
UID INTEGER PRIMARY KEY AUTOINCREMENT |
|
259 |
NOT NULL, |
|
260 |
HMB_UID VARCHAR (37) REFERENCES HMB (UID) ON DELETE CASCADE, |
|
261 |
[From] VARCHAR (37) REFERENCES Components (UID) ON DELETE SET NULL, |
|
262 |
[To] VARCHAR (37) REFERENCES Components (UID) ON DELETE SET NULL |
|
184 | 263 |
); |
185 | 264 |
|
265 |
|
|
186 | 266 |
CREATE TABLE IF NOT EXISTS InsulationPurpose ( |
187 | 267 |
UID VARCHAR (37) CONSTRAINT InsulationPurpose_PK PRIMARY KEY |
188 | 268 |
NOT NULL, |
내보내기 Unified diff