MODTRS: Difference between revisions
m (Modtrs wurde nach MODTRS verschoben) |
m (Vorlage hinzu) |
||
Line 1: | Line 1: | ||
{{BlauesModell Module}} | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_INI () RESULT (LOK)</HIGHLIGHTSYNTAX> | |||
:Initialisiere das Modul für Transportelemente | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_CREATE() RESULT (ID)</HIGHLIGHTSYNTAX> | |||
:Die nächste freie ID ermitteln | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_NEU () RESULT (LOK)</HIGHLIGHTSYNTAX> | |||
:Neues Transportelement-Objekt einrichten | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TFIK_NEU () RESULT (TypID)</HIGHLIGHTSYNTAX> | |||
:Neues Fiktives Transportelement | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TROR_NEU () RESULT (TypID)</HIGHLIGHTSYNTAX> | |||
:Neues Transportelement Typ Rohrleitung | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TGER_NEU () RESULT (TypID)</HIGHLIGHTSYNTAX> | |||
:Neues Transportelement Typ offenes Gerinne | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TKNL_NEU () RESULT (TypID)</HIGHLIGHTSYNTAX> | |||
:Neues Transportelement Typ Abflussbeziehung | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_LET_ATTRIB_INT () RESULT (IsOK)</HIGHLIGHTSYNTAX> | |||
:Ein Attribut setzen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_SYS() RESULT(LOK)</HIGHLIGHTSYNTAX> | |||
:Neues Transportelement einrichten | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_START () RESULT (LOK)</HIGHLIGHTSYNTAX> | |||
:Anfangsbedingungen der Transportelemente setzen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TFIK_START () RESULT(LOK)</HIGHLIGHTSYNTAX> | |||
:Translation Startbedingungen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TROR_START () RESULT(LOK)</HIGHLIGHTSYNTAX> | |||
:Freispiegel Rohrleitung Startbedingungen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TGER_START () RESULT(LOK)</HIGHLIGHTSYNTAX> | |||
:Offenes Gerinne Startbedingungen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TKNL_START () RESULT(LOK)</HIGHLIGHTSYNTAX> | |||
:Kennlinien Gerinne Startbedingungen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_WEL () RESULT(LOK)</HIGHLIGHTSYNTAX> | |||
:Transportelement berechnen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TFIK_WEL () RESULT(LOK)</HIGHLIGHTSYNTAX> | |||
:Fiktives Transportelement berechnen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TROR_WEL () RESULT(LOK)</HIGHLIGHTSYNTAX> | |||
:Freispiegel Rohrleitung berechnen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TGER_WEL () RESULT(LOK)</HIGHLIGHTSYNTAX> | |||
:Offenes Gerinne berechnen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TKNL_WEL () RESULT(LOK)</HIGHLIGHTSYNTAX> | |||
:Transportelement mit Kennlinie berechnen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_CALC () RESULT(LOK)</HIGHLIGHTSYNTAX> | |||
:Methode: Berechne nicht-linearen Speicher | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_CALC_WSP () RESULT (WSPakt)</HIGHLIGHTSYNTAX> | |||
:Methode: Berechnet den Wasserstand | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_HEADWEL () RESULT (N)</HIGHLIGHTSYNTAX> | |||
:Transportelement Header für Output-File schreiben | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_OUTWEL () RESULT (N)</HIGHLIGHTSYNTAX> | |||
:Transportelement Ergebnis eines Zeitschrittes ausgeben | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_UPDATE () RESULT (LOK)</HIGHLIGHTSYNTAX> | |||
:Übergabe der letzten Zeitschrittwerte | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_MAXSTZ () RESULT (NSTZ)</HIGHLIGHTSYNTAX> | |||
:Anzahl der Stützstellen der Kennlinie | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_MAXTRANS () RESULT (N)</HIGHLIGHTSYNTAX> | |||
:Anzahl der Translationselemente fiktiver TRS | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_TYP () RESULT (TYP)</HIGHLIGHTSYNTAX> | |||
:Typ des Transportelementes | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_MQ () RESULT (MQ)</HIGHLIGHTSYNTAX> | |||
:Startabfluss | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_QVOLL () RESULT (QVOLL)</HIGHLIGHTSYNTAX> | |||
:Maximale Leistung des Moduls | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_KSTG () RESULT (KSTG)</HIGHLIGHTSYNTAX> | |||
:Strickler-Beiwert Gerinneschlauch | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_KST () RESULT (KST)</HIGHLIGHTSYNTAX> | |||
:Strickler-Beiwert Gesamtgerinne | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_KNL () RESULT (NSTZ)</HIGHLIGHTSYNTAX> | |||
:Kennlinie | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_NAB () RESULT (NAB)</HIGHLIGHTSYNTAX> | |||
:Anzahl der Abläufe des Moduls | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_ANZ_WELVAR () RESULT (N)</HIGHLIGHTSYNTAX> | |||
:Anzahl der Ausgabevariablen | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_VERSION () RESULT (VERSION)</HIGHLIGHTSYNTAX> | |||
:Versionsnummer des Moduls | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_IDOK () RESULT (OK)</HIGHLIGHTSYNTAX> | |||
:Prüfung ob eine gegebene Kennung OK ist? (D.h. gibt's ein Objekt dazu ?) | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_IDObj () RESULT (objptr)</HIGHLIGHTSYNTAX> | |||
:Objekt zu einer ID | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TFIK_obj () RESULT (objptr)</HIGHLIGHTSYNTAX> | |||
:Objekt zu einer ID | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TROR_obj () RESULT (objptr)</HIGHLIGHTSYNTAX> | |||
:Objekt zu einer ID | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TGER_obj () RESULT (objptr)</HIGHLIGHTSYNTAX> | |||
:Objekt zu einer ID | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TKNL_obj () RESULT (objptr)</HIGHLIGHTSYNTAX> | |||
:Objekt zu einer ID | |||
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_TEST () RESULT (i)</HIGHLIGHTSYNTAX> | |||
:Testumgebung | |||
[[Category:BlauesModell]] | [[Category:BlauesModell]] | ||
[[Category:BlauesModell Code]] |
Revision as of 05:34, 28 August 2006
MODULE |
Übersicht |
MODBEK |
MODBF |
MODBIL |
MODCON |
MODEIN |
MODERR |
MODEZG |
MODFKT |
MODGGL |
MODHYA |
MODHYO |
MODKAL |
MODMAX |
MODMISC |
MODSCE |
MODSTAT |
MODSYS |
MODTAL |
MODTRS |
MODURB |
MODVER |
MODZIEL |
MODZRE |
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_INI () RESULT (LOK)</HIGHLIGHTSYNTAX>
- Initialisiere das Modul für Transportelemente
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_CREATE() RESULT (ID)</HIGHLIGHTSYNTAX>
- Die nächste freie ID ermitteln
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_NEU () RESULT (LOK)</HIGHLIGHTSYNTAX>
- Neues Transportelement-Objekt einrichten
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TFIK_NEU () RESULT (TypID)</HIGHLIGHTSYNTAX>
- Neues Fiktives Transportelement
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TROR_NEU () RESULT (TypID)</HIGHLIGHTSYNTAX>
- Neues Transportelement Typ Rohrleitung
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TGER_NEU () RESULT (TypID)</HIGHLIGHTSYNTAX>
- Neues Transportelement Typ offenes Gerinne
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TKNL_NEU () RESULT (TypID)</HIGHLIGHTSYNTAX>
- Neues Transportelement Typ Abflussbeziehung
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_LET_ATTRIB_INT () RESULT (IsOK)</HIGHLIGHTSYNTAX>
- Ein Attribut setzen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_SYS() RESULT(LOK)</HIGHLIGHTSYNTAX>
- Neues Transportelement einrichten
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_START () RESULT (LOK)</HIGHLIGHTSYNTAX>
- Anfangsbedingungen der Transportelemente setzen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TFIK_START () RESULT(LOK)</HIGHLIGHTSYNTAX>
- Translation Startbedingungen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TROR_START () RESULT(LOK)</HIGHLIGHTSYNTAX>
- Freispiegel Rohrleitung Startbedingungen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TGER_START () RESULT(LOK)</HIGHLIGHTSYNTAX>
- Offenes Gerinne Startbedingungen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TKNL_START () RESULT(LOK)</HIGHLIGHTSYNTAX>
- Kennlinien Gerinne Startbedingungen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_WEL () RESULT(LOK)</HIGHLIGHTSYNTAX>
- Transportelement berechnen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TFIK_WEL () RESULT(LOK)</HIGHLIGHTSYNTAX>
- Fiktives Transportelement berechnen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TROR_WEL () RESULT(LOK)</HIGHLIGHTSYNTAX>
- Freispiegel Rohrleitung berechnen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TGER_WEL () RESULT(LOK)</HIGHLIGHTSYNTAX>
- Offenes Gerinne berechnen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TKNL_WEL () RESULT(LOK)</HIGHLIGHTSYNTAX>
- Transportelement mit Kennlinie berechnen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_CALC () RESULT(LOK)</HIGHLIGHTSYNTAX>
- Methode: Berechne nicht-linearen Speicher
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_CALC_WSP () RESULT (WSPakt)</HIGHLIGHTSYNTAX>
- Methode: Berechnet den Wasserstand
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_HEADWEL () RESULT (N)</HIGHLIGHTSYNTAX>
- Transportelement Header für Output-File schreiben
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_OUTWEL () RESULT (N)</HIGHLIGHTSYNTAX>
- Transportelement Ergebnis eines Zeitschrittes ausgeben
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_UPDATE () RESULT (LOK)</HIGHLIGHTSYNTAX>
- Übergabe der letzten Zeitschrittwerte
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_MAXSTZ () RESULT (NSTZ)</HIGHLIGHTSYNTAX>
- Anzahl der Stützstellen der Kennlinie
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_MAXTRANS () RESULT (N)</HIGHLIGHTSYNTAX>
- Anzahl der Translationselemente fiktiver TRS
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_TYP () RESULT (TYP)</HIGHLIGHTSYNTAX>
- Typ des Transportelementes
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_MQ () RESULT (MQ)</HIGHLIGHTSYNTAX>
- Startabfluss
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_QVOLL () RESULT (QVOLL)</HIGHLIGHTSYNTAX>
- Maximale Leistung des Moduls
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_KSTG () RESULT (KSTG)</HIGHLIGHTSYNTAX>
- Strickler-Beiwert Gerinneschlauch
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_KST () RESULT (KST)</HIGHLIGHTSYNTAX>
- Strickler-Beiwert Gesamtgerinne
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_KNL () RESULT (NSTZ)</HIGHLIGHTSYNTAX>
- Kennlinie
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_GET_NAB () RESULT (NAB)</HIGHLIGHTSYNTAX>
- Anzahl der Abläufe des Moduls
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_ANZ_WELVAR () RESULT (N)</HIGHLIGHTSYNTAX>
- Anzahl der Ausgabevariablen
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_VERSION () RESULT (VERSION)</HIGHLIGHTSYNTAX>
- Versionsnummer des Moduls
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_IDOK () RESULT (OK)</HIGHLIGHTSYNTAX>
- Prüfung ob eine gegebene Kennung OK ist? (D.h. gibt's ein Objekt dazu ?)
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_IDObj () RESULT (objptr)</HIGHLIGHTSYNTAX>
- Objekt zu einer ID
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TFIK_obj () RESULT (objptr)</HIGHLIGHTSYNTAX>
- Objekt zu einer ID
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TROR_obj () RESULT (objptr)</HIGHLIGHTSYNTAX>
- Objekt zu einer ID
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TGER_obj () RESULT (objptr)</HIGHLIGHTSYNTAX>
- Objekt zu einer ID
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TKNL_obj () RESULT (objptr)</HIGHLIGHTSYNTAX>
- Objekt zu einer ID
<HIGHLIGHTSYNTAX language="fortran90">FUNCTION TRS_TEST () RESULT (i)</HIGHLIGHTSYNTAX>
- Testumgebung