1CREATE OR REPLACE FUNCTION CAL_PPEK0139_EPSSGA(raw numeric)
   2RETURNS numeric AS $$
   3    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
   4        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
   5        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
   6        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
   7$$ LANGUAGE SQL IMMUTABLE;
   8CREATE OR REPLACE FUNCTION CAL_PPEK0139_EPSSGB(raw numeric)
   9RETURNS numeric AS $$
  10    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  11        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  12        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  13        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  14$$ LANGUAGE SQL IMMUTABLE;
  15CREATE OR REPLACE FUNCTION CAL_XXKP0671_EPSSGA(raw numeric)
  16RETURNS numeric AS $$
  17    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  18        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  19        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  20        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  21$$ LANGUAGE SQL IMMUTABLE;
  22CREATE OR REPLACE FUNCTION CAL_XXKP0671_EPSSGB(raw numeric)
  23RETURNS numeric AS $$
  24    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  25        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  26        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  27        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  28$$ LANGUAGE SQL IMMUTABLE;
  29CREATE OR REPLACE FUNCTION CAL_IUKI0001_EPSSGA(raw numeric)
  30RETURNS numeric AS $$
  31    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  32        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  33        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  34        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  35$$ LANGUAGE SQL IMMUTABLE;
  36CREATE OR REPLACE FUNCTION CAL_IUKI0001_EPSSGB(raw numeric)
  37RETURNS numeric AS $$
  38    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  39        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  40        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  41        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  42$$ LANGUAGE SQL IMMUTABLE;
  43CREATE OR REPLACE FUNCTION CAL_PPEK0665_EPSSGA(raw numeric)
  44RETURNS numeric AS $$
  45    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  46        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  47        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  48        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  49$$ LANGUAGE SQL IMMUTABLE;
  50CREATE OR REPLACE FUNCTION CAL_PPEK0665_EPSSGB(raw numeric)
  51RETURNS numeric AS $$
  52    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  53        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  54        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  55        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  56$$ LANGUAGE SQL IMMUTABLE;
  57CREATE OR REPLACE FUNCTION CAL_BHKP0008_EPSSGA(raw numeric)
  58RETURNS numeric AS $$
  59    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  60        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  61        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  62        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  63$$ LANGUAGE SQL IMMUTABLE;
  64CREATE OR REPLACE FUNCTION CAL_BHKP0008_EPSSGB(raw numeric)
  65RETURNS numeric AS $$
  66    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  67        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  68        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  69        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  70$$ LANGUAGE SQL IMMUTABLE;
  71CREATE OR REPLACE FUNCTION CAL_PPEK0502_EPSSGA(raw numeric)
  72RETURNS numeric AS $$
  73    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  74        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  75        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  76        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  77$$ LANGUAGE SQL IMMUTABLE;
  78CREATE OR REPLACE FUNCTION CAL_PPEK0502_EPSSGB(raw numeric)
  79RETURNS numeric AS $$
  80    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  81        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  82        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  83        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  84$$ LANGUAGE SQL IMMUTABLE;
  85CREATE OR REPLACE FUNCTION CAL_PPEK0639_EPSSGA(raw numeric)
  86RETURNS numeric AS $$
  87    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  88        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  89        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  90        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  91$$ LANGUAGE SQL IMMUTABLE;
  92CREATE OR REPLACE FUNCTION CAL_PPEK0639_EPSSGB(raw numeric)
  93RETURNS numeric AS $$
  94    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
  95        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
  96        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
  97        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
  98$$ LANGUAGE SQL IMMUTABLE;
  99CREATE OR REPLACE FUNCTION CAL_PPEK0193_EPSSGA(raw numeric)
 100RETURNS numeric AS $$
 101    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 102        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 103        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 104        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 105$$ LANGUAGE SQL IMMUTABLE;
 106CREATE OR REPLACE FUNCTION CAL_PPEK0193_EPSSGB(raw numeric)
 107RETURNS numeric AS $$
 108    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 109        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 110        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 111        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 112$$ LANGUAGE SQL IMMUTABLE;
 113CREATE OR REPLACE FUNCTION CAL_NAKP0000_EPSSGA(raw numeric)
 114RETURNS numeric AS $$
 115    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 116        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 117        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 118        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 119$$ LANGUAGE SQL IMMUTABLE;
 120CREATE OR REPLACE FUNCTION CAL_NAKP0000_EPSSGB(raw numeric)
 121RETURNS numeric AS $$
 122    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 123        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 124        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 125        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 126$$ LANGUAGE SQL IMMUTABLE;
 127CREATE OR REPLACE FUNCTION CAL_PPEK0181_EPSSGA(raw numeric)
 128RETURNS numeric AS $$
 129    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 130        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 131        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 132        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 133$$ LANGUAGE SQL IMMUTABLE;
 134CREATE OR REPLACE FUNCTION CAL_PPEK0181_EPSSGB(raw numeric)
 135RETURNS numeric AS $$
 136    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 137        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 138        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 139        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 140$$ LANGUAGE SQL IMMUTABLE;
 141CREATE OR REPLACE FUNCTION CAL_PPEK0670_EPSSGA(raw numeric)
 142RETURNS numeric AS $$
 143    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 144        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 145        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 146        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 147$$ LANGUAGE SQL IMMUTABLE;
 148CREATE OR REPLACE FUNCTION CAL_PPEK0670_EPSSGB(raw numeric)
 149RETURNS numeric AS $$
 150    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 151        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 152        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 153        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 154$$ LANGUAGE SQL IMMUTABLE;
 155CREATE OR REPLACE FUNCTION CAL_NAKP8510_EPSSGA(raw numeric)
 156RETURNS numeric AS $$
 157    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 158        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 159        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 160        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 161$$ LANGUAGE SQL IMMUTABLE;
 162CREATE OR REPLACE FUNCTION CAL_NAKP8510_EPSSGB(raw numeric)
 163RETURNS numeric AS $$
 164    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 165        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 166        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 167        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 168$$ LANGUAGE SQL IMMUTABLE;
 169CREATE OR REPLACE FUNCTION CAL_RUEK8025_EPSSGA(raw numeric)
 170RETURNS numeric AS $$
 171    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 172        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 173        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 174        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 175$$ LANGUAGE SQL IMMUTABLE;
 176CREATE OR REPLACE FUNCTION CAL_RUEK8025_EPSSGB(raw numeric)
 177RETURNS numeric AS $$
 178    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 179        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 180        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 181        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 182$$ LANGUAGE SQL IMMUTABLE;
 183CREATE OR REPLACE FUNCTION CAL_PPEK0503_EPSSGA(raw numeric)
 184RETURNS numeric AS $$
 185    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 186        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 187        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 188        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 189$$ LANGUAGE SQL IMMUTABLE;
 190CREATE OR REPLACE FUNCTION CAL_PPEK0503_EPSSGB(raw numeric)
 191RETURNS numeric AS $$
 192    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 193        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 194        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 195        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 196$$ LANGUAGE SQL IMMUTABLE;
 197CREATE OR REPLACE FUNCTION CAL_PPEK0175_EPSSGA(raw numeric)
 198RETURNS numeric AS $$
 199    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 200        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 201        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 202        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 203$$ LANGUAGE SQL IMMUTABLE;
 204CREATE OR REPLACE FUNCTION CAL_PPEK0175_EPSSGB(raw numeric)
 205RETURNS numeric AS $$
 206    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 207        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 208        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 209        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 210$$ LANGUAGE SQL IMMUTABLE;
 211CREATE OR REPLACE FUNCTION CAL_BHKE0006_EPSSGA(raw numeric)
 212RETURNS numeric AS $$
 213    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 214        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 215        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 216        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 217$$ LANGUAGE SQL IMMUTABLE;
 218CREATE OR REPLACE FUNCTION CAL_BHKE0006_EPSSGB(raw numeric)
 219RETURNS numeric AS $$
 220    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 221        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 222        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 223        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 224$$ LANGUAGE SQL IMMUTABLE;
 225CREATE OR REPLACE FUNCTION CAL_XXKP0557_EPSSGA(raw numeric)
 226RETURNS numeric AS $$
 227    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 228        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 229        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 230        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 231$$ LANGUAGE SQL IMMUTABLE;
 232CREATE OR REPLACE FUNCTION CAL_XXKP0557_EPSSGB(raw numeric)
 233RETURNS numeric AS $$
 234    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 235        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 236        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 237        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 238$$ LANGUAGE SQL IMMUTABLE;
 239CREATE OR REPLACE FUNCTION CAL_WCK00036_EPSSGA(raw numeric)
 240RETURNS numeric AS $$
 241    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 242        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 243        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 244        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 245$$ LANGUAGE SQL IMMUTABLE;
 246CREATE OR REPLACE FUNCTION CAL_WCK00036_EPSSGB(raw numeric)
 247RETURNS numeric AS $$
 248    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 249        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 250        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 251        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 252$$ LANGUAGE SQL IMMUTABLE;
 253CREATE OR REPLACE FUNCTION CAL_PPEK0164_EPSSGA(raw numeric)
 254RETURNS numeric AS $$
 255    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 256        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 257        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 258        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 259$$ LANGUAGE SQL IMMUTABLE;
 260CREATE OR REPLACE FUNCTION CAL_PPEK0164_EPSSGB(raw numeric)
 261RETURNS numeric AS $$
 262    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 263        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 264        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 265        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 266$$ LANGUAGE SQL IMMUTABLE;
 267CREATE OR REPLACE FUNCTION CAL_RKEK1024_EPSSGA(raw numeric)
 268RETURNS numeric AS $$
 269    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 270        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 271        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 272        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 273$$ LANGUAGE SQL IMMUTABLE;
 274CREATE OR REPLACE FUNCTION CAL_RKEK1024_EPSSGB(raw numeric)
 275RETURNS numeric AS $$
 276    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 277        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 278        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 279        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 280$$ LANGUAGE SQL IMMUTABLE;
 281CREATE OR REPLACE FUNCTION CAL_PPEK0115_EPSSGA(raw numeric)
 282RETURNS numeric AS $$
 283    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 284        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 285        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 286        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 287$$ LANGUAGE SQL IMMUTABLE;
 288CREATE OR REPLACE FUNCTION CAL_PPEK0115_EPSSGB(raw numeric)
 289RETURNS numeric AS $$
 290    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 291        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 292        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 293        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 294$$ LANGUAGE SQL IMMUTABLE;
 295CREATE OR REPLACE FUNCTION CAL_PPEK0154_EPSSGA(raw numeric)
 296RETURNS numeric AS $$
 297    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 298        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 299        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 300        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 301$$ LANGUAGE SQL IMMUTABLE;
 302CREATE OR REPLACE FUNCTION CAL_PPEK0154_EPSSGB(raw numeric)
 303RETURNS numeric AS $$
 304    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 305        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 306        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 307        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 308$$ LANGUAGE SQL IMMUTABLE;
 309CREATE OR REPLACE FUNCTION CAL_RUEK8061_EPSSGA(raw numeric)
 310RETURNS numeric AS $$
 311    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 312        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 313        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 314        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 315$$ LANGUAGE SQL IMMUTABLE;
 316CREATE OR REPLACE FUNCTION CAL_RUEK8061_EPSSGB(raw numeric)
 317RETURNS numeric AS $$
 318    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 319        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 320        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 321        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 322$$ LANGUAGE SQL IMMUTABLE;
 323CREATE OR REPLACE FUNCTION CAL_XXKP0571_EPSSGA(raw numeric)
 324RETURNS numeric AS $$
 325    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 326        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 327        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 328        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 329$$ LANGUAGE SQL IMMUTABLE;
 330CREATE OR REPLACE FUNCTION CAL_XXKP0571_EPSSGB(raw numeric)
 331RETURNS numeric AS $$
 332    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 333        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 334        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 335        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 336$$ LANGUAGE SQL IMMUTABLE;
 337CREATE OR REPLACE FUNCTION CAL_IUKI0002_EPSSGA(raw numeric)
 338RETURNS numeric AS $$
 339    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 340        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 341        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 342        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 343$$ LANGUAGE SQL IMMUTABLE;
 344CREATE OR REPLACE FUNCTION CAL_IUKI0002_EPSSGB(raw numeric)
 345RETURNS numeric AS $$
 346    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 347        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 348        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 349        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 350$$ LANGUAGE SQL IMMUTABLE;
 351CREATE OR REPLACE FUNCTION CAL_XXKP0464_EPSSGA(raw numeric)
 352RETURNS numeric AS $$
 353    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 354        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 355        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 356        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 357$$ LANGUAGE SQL IMMUTABLE;
 358CREATE OR REPLACE FUNCTION CAL_XXKP0464_EPSSGB(raw numeric)
 359RETURNS numeric AS $$
 360    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 361        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 362        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 363        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 364$$ LANGUAGE SQL IMMUTABLE;
 365CREATE OR REPLACE FUNCTION CAL_NAKP8004_EPSSGA(raw numeric)
 366RETURNS numeric AS $$
 367    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 368        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 369        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 370        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 371$$ LANGUAGE SQL IMMUTABLE;
 372CREATE OR REPLACE FUNCTION CAL_NAKP8004_EPSSGB(raw numeric)
 373RETURNS numeric AS $$
 374    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 375        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 376        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 377        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 378$$ LANGUAGE SQL IMMUTABLE;
 379CREATE OR REPLACE FUNCTION CAL_NAKP8601_EPSSGA(raw numeric)
 380RETURNS numeric AS $$
 381    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 382        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 383        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 384        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 385$$ LANGUAGE SQL IMMUTABLE;
 386CREATE OR REPLACE FUNCTION CAL_NAKP8601_EPSSGB(raw numeric)
 387RETURNS numeric AS $$
 388    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 389        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 390        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 391        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 392$$ LANGUAGE SQL IMMUTABLE;
 393CREATE OR REPLACE FUNCTION CAL_SEEK0016_EPSSGA(raw numeric)
 394RETURNS numeric AS $$
 395    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 396        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 397        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 398        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 399$$ LANGUAGE SQL IMMUTABLE;
 400CREATE OR REPLACE FUNCTION CAL_SEEK0016_EPSSGB(raw numeric)
 401RETURNS numeric AS $$
 402    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 403        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 404        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 405        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 406$$ LANGUAGE SQL IMMUTABLE;
 407CREATE OR REPLACE FUNCTION CAL_YYEK000F_EPSSGA(raw numeric)
 408RETURNS numeric AS $$
 409    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 410        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 411        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 412        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 413$$ LANGUAGE SQL IMMUTABLE;
 414CREATE OR REPLACE FUNCTION CAL_YYEK000F_EPSSGB(raw numeric)
 415RETURNS numeric AS $$
 416    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 417        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 418        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 419        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 420$$ LANGUAGE SQL IMMUTABLE;
 421CREATE OR REPLACE FUNCTION CAL_XXKP0433_EPSSGA(raw numeric)
 422RETURNS numeric AS $$
 423    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 424        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 425        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 426        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 427$$ LANGUAGE SQL IMMUTABLE;
 428CREATE OR REPLACE FUNCTION CAL_XXKP0433_EPSSGB(raw numeric)
 429RETURNS numeric AS $$
 430    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 431        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 432        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 433        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 434$$ LANGUAGE SQL IMMUTABLE;
 435CREATE OR REPLACE FUNCTION CAL_PPEK0300_EPSSGA(raw numeric)
 436RETURNS numeric AS $$
 437    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 438        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 439        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 440        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 441$$ LANGUAGE SQL IMMUTABLE;
 442CREATE OR REPLACE FUNCTION CAL_PPEK0300_EPSSGB(raw numeric)
 443RETURNS numeric AS $$
 444    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 445        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 446        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 447        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 448$$ LANGUAGE SQL IMMUTABLE;
 449CREATE OR REPLACE FUNCTION CAL_CSKINTERTC_EPSSGA(raw numeric)
 450RETURNS numeric AS $$
 451    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 452        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 453        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 454        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 455$$ LANGUAGE SQL IMMUTABLE;
 456CREATE OR REPLACE FUNCTION CAL_CSKINTERTC_EPSSGB(raw numeric)
 457RETURNS numeric AS $$
 458    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 459        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 460        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 461        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 462$$ LANGUAGE SQL IMMUTABLE;
 463CREATE OR REPLACE FUNCTION CAL_PPEK0127_EPSSGA(raw numeric)
 464RETURNS numeric AS $$
 465    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 466        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 467        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 468        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 469$$ LANGUAGE SQL IMMUTABLE;
 470CREATE OR REPLACE FUNCTION CAL_PPEK0127_EPSSGB(raw numeric)
 471RETURNS numeric AS $$
 472    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 473        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 474        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 475        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 476$$ LANGUAGE SQL IMMUTABLE;
 477CREATE OR REPLACE FUNCTION CAL_PPEK0654_EPSSGA(raw numeric)
 478RETURNS numeric AS $$
 479    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 480        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 481        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 482        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 483$$ LANGUAGE SQL IMMUTABLE;
 484CREATE OR REPLACE FUNCTION CAL_PPEK0654_EPSSGB(raw numeric)
 485RETURNS numeric AS $$
 486    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 487        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 488        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 489        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 490$$ LANGUAGE SQL IMMUTABLE;
 491CREATE OR REPLACE FUNCTION CAL_WCK00035_EPSSGA(raw numeric)
 492RETURNS numeric AS $$
 493    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 494        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 495        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 496        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 497$$ LANGUAGE SQL IMMUTABLE;
 498CREATE OR REPLACE FUNCTION CAL_WCK00035_EPSSGB(raw numeric)
 499RETURNS numeric AS $$
 500    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 501        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 502        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 503        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 504$$ LANGUAGE SQL IMMUTABLE;
 505CREATE OR REPLACE FUNCTION CAL_BHKE0023_EPSSGA(raw numeric)
 506RETURNS numeric AS $$
 507    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 508        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 509        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 510        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 511$$ LANGUAGE SQL IMMUTABLE;
 512CREATE OR REPLACE FUNCTION CAL_BHKE0023_EPSSGB(raw numeric)
 513RETURNS numeric AS $$
 514    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 515        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 516        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 517        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 518$$ LANGUAGE SQL IMMUTABLE;
 519CREATE OR REPLACE FUNCTION CAL_PPEK0221_EPSSGA(raw numeric)
 520RETURNS numeric AS $$
 521    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 522        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 523        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 524        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 525$$ LANGUAGE SQL IMMUTABLE;
 526CREATE OR REPLACE FUNCTION CAL_PPEK0221_EPSSGB(raw numeric)
 527RETURNS numeric AS $$
 528    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 529        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 530        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 531        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 532$$ LANGUAGE SQL IMMUTABLE;
 533CREATE OR REPLACE FUNCTION CAL_PPEK0661_EPSSGA(raw numeric)
 534RETURNS numeric AS $$
 535    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 536        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 537        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 538        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 539$$ LANGUAGE SQL IMMUTABLE;
 540CREATE OR REPLACE FUNCTION CAL_PPEK0661_EPSSGB(raw numeric)
 541RETURNS numeric AS $$
 542    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 543        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 544        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 545        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 546$$ LANGUAGE SQL IMMUTABLE;
 547CREATE OR REPLACE FUNCTION CAL_PPEK0216_EPSSGA(raw numeric)
 548RETURNS numeric AS $$
 549    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 550        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 551        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 552        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 553$$ LANGUAGE SQL IMMUTABLE;
 554CREATE OR REPLACE FUNCTION CAL_PPEK0216_EPSSGB(raw numeric)
 555RETURNS numeric AS $$
 556    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 557        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 558        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 559        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 560$$ LANGUAGE SQL IMMUTABLE;
 561CREATE OR REPLACE FUNCTION CAL_XXKP0407_EPSSGA(raw numeric)
 562RETURNS numeric AS $$
 563    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 564        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 565        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 566        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 567$$ LANGUAGE SQL IMMUTABLE;
 568CREATE OR REPLACE FUNCTION CAL_XXKP0407_EPSSGB(raw numeric)
 569RETURNS numeric AS $$
 570    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 571        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 572        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 573        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 574$$ LANGUAGE SQL IMMUTABLE;
 575CREATE OR REPLACE FUNCTION CAL_PPEK0701_EPSSGA(raw numeric)
 576RETURNS numeric AS $$
 577    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 578        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 579        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 580        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 581$$ LANGUAGE SQL IMMUTABLE;
 582CREATE OR REPLACE FUNCTION CAL_PPEK0701_EPSSGB(raw numeric)
 583RETURNS numeric AS $$
 584    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 585        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 586        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 587        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 588$$ LANGUAGE SQL IMMUTABLE;
 589CREATE OR REPLACE FUNCTION CAL_PPEK0121_EPSSGA(raw numeric)
 590RETURNS numeric AS $$
 591    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 592        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 593        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 594        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 595$$ LANGUAGE SQL IMMUTABLE;
 596CREATE OR REPLACE FUNCTION CAL_PPEK0121_EPSSGB(raw numeric)
 597RETURNS numeric AS $$
 598    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 599        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 600        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 601        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 602$$ LANGUAGE SQL IMMUTABLE;
 603CREATE OR REPLACE FUNCTION CAL_PPEK0631_EPSSGA(raw numeric)
 604RETURNS numeric AS $$
 605    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 606        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 607        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 608        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 609$$ LANGUAGE SQL IMMUTABLE;
 610CREATE OR REPLACE FUNCTION CAL_PPEK0631_EPSSGB(raw numeric)
 611RETURNS numeric AS $$
 612    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 613        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 614        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 615        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 616$$ LANGUAGE SQL IMMUTABLE;
 617CREATE OR REPLACE FUNCTION CAL_PPEK0215_EPSSGA(raw numeric)
 618RETURNS numeric AS $$
 619    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 620        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 621        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 622        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 623$$ LANGUAGE SQL IMMUTABLE;
 624CREATE OR REPLACE FUNCTION CAL_PPEK0215_EPSSGB(raw numeric)
 625RETURNS numeric AS $$
 626    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 627        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 628        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 629        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 630$$ LANGUAGE SQL IMMUTABLE;
 631CREATE OR REPLACE FUNCTION CAL_PPEK0680_EPSSGA(raw numeric)
 632RETURNS numeric AS $$
 633    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 634        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 635        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 636        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 637$$ LANGUAGE SQL IMMUTABLE;
 638CREATE OR REPLACE FUNCTION CAL_PPEK0680_EPSSGB(raw numeric)
 639RETURNS numeric AS $$
 640    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 641        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 642        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 643        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 644$$ LANGUAGE SQL IMMUTABLE;
 645CREATE OR REPLACE FUNCTION CAL_ILKP0005_EPSSGA(raw numeric)
 646RETURNS numeric AS $$
 647    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 648        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 649        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 650        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 651$$ LANGUAGE SQL IMMUTABLE;
 652CREATE OR REPLACE FUNCTION CAL_ILKP0005_EPSSGB(raw numeric)
 653RETURNS numeric AS $$
 654    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 655        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 656        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 657        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 658$$ LANGUAGE SQL IMMUTABLE;
 659CREATE OR REPLACE FUNCTION CAL_PPEK0104_EPSSGA(raw numeric)
 660RETURNS numeric AS $$
 661    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 662        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 663        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 664        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 665$$ LANGUAGE SQL IMMUTABLE;
 666CREATE OR REPLACE FUNCTION CAL_PPEK0104_EPSSGB(raw numeric)
 667RETURNS numeric AS $$
 668    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 669        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 670        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 671        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 672$$ LANGUAGE SQL IMMUTABLE;
 673CREATE OR REPLACE FUNCTION CAL_XXKP0434_EPSSGA(raw numeric)
 674RETURNS numeric AS $$
 675    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 676        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 677        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 678        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 679$$ LANGUAGE SQL IMMUTABLE;
 680CREATE OR REPLACE FUNCTION CAL_XXKP0434_EPSSGB(raw numeric)
 681RETURNS numeric AS $$
 682    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 683        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 684        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 685        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 686$$ LANGUAGE SQL IMMUTABLE;
 687CREATE OR REPLACE FUNCTION CAL_PPEK0241_EPSSGA(raw numeric)
 688RETURNS numeric AS $$
 689    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 690        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 691        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 692        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 693$$ LANGUAGE SQL IMMUTABLE;
 694CREATE OR REPLACE FUNCTION CAL_PPEK0241_EPSSGB(raw numeric)
 695RETURNS numeric AS $$
 696    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 697        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 698        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 699        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 700$$ LANGUAGE SQL IMMUTABLE;
 701CREATE OR REPLACE FUNCTION CAL_PPEK0229_EPSSGA(raw numeric)
 702RETURNS numeric AS $$
 703    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 704        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 705        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 706        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 707$$ LANGUAGE SQL IMMUTABLE;
 708CREATE OR REPLACE FUNCTION CAL_PPEK0229_EPSSGB(raw numeric)
 709RETURNS numeric AS $$
 710    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 711        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 712        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 713        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 714$$ LANGUAGE SQL IMMUTABLE;
 715CREATE OR REPLACE FUNCTION CAL_PPEK0213_EPSSGA(raw numeric)
 716RETURNS numeric AS $$
 717    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 718        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 719        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 720        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 721$$ LANGUAGE SQL IMMUTABLE;
 722CREATE OR REPLACE FUNCTION CAL_PPEK0213_EPSSGB(raw numeric)
 723RETURNS numeric AS $$
 724    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 725        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 726        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 727        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 728$$ LANGUAGE SQL IMMUTABLE;
 729CREATE OR REPLACE FUNCTION CAL_WCK00017_EPSSGA(raw numeric)
 730RETURNS numeric AS $$
 731    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 732        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 733        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 734        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 735$$ LANGUAGE SQL IMMUTABLE;
 736CREATE OR REPLACE FUNCTION CAL_WCK00017_EPSSGB(raw numeric)
 737RETURNS numeric AS $$
 738    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 739        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 740        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 741        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 742$$ LANGUAGE SQL IMMUTABLE;
 743CREATE OR REPLACE FUNCTION CAL_RUEK8068_EPSSGA(raw numeric)
 744RETURNS numeric AS $$
 745    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 746        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 747        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 748        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 749$$ LANGUAGE SQL IMMUTABLE;
 750CREATE OR REPLACE FUNCTION CAL_RUEK8068_EPSSGB(raw numeric)
 751RETURNS numeric AS $$
 752    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 753        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 754        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 755        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 756$$ LANGUAGE SQL IMMUTABLE;
 757CREATE OR REPLACE FUNCTION CAL_PPEK0624_EPSSGA(raw numeric)
 758RETURNS numeric AS $$
 759    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 760        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 761        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 762        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 763$$ LANGUAGE SQL IMMUTABLE;
 764CREATE OR REPLACE FUNCTION CAL_PPEK0624_EPSSGB(raw numeric)
 765RETURNS numeric AS $$
 766    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 767        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 768        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 769        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 770$$ LANGUAGE SQL IMMUTABLE;
 771CREATE OR REPLACE FUNCTION CAL_RUEK8041_EPSSGA(raw numeric)
 772RETURNS numeric AS $$
 773    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 774        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 775        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 776        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 777$$ LANGUAGE SQL IMMUTABLE;
 778CREATE OR REPLACE FUNCTION CAL_RUEK8041_EPSSGB(raw numeric)
 779RETURNS numeric AS $$
 780    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 781        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 782        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 783        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 784$$ LANGUAGE SQL IMMUTABLE;
 785CREATE OR REPLACE FUNCTION CAL_PPEK0142_EPSSGA(raw numeric)
 786RETURNS numeric AS $$
 787    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 788        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 789        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 790        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 791$$ LANGUAGE SQL IMMUTABLE;
 792CREATE OR REPLACE FUNCTION CAL_PPEK0142_EPSSGB(raw numeric)
 793RETURNS numeric AS $$
 794    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 795        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 796        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 797        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 798$$ LANGUAGE SQL IMMUTABLE;
 799CREATE OR REPLACE FUNCTION CAL_PPEK0191_EPSSGA(raw numeric)
 800RETURNS numeric AS $$
 801    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 802        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 803        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 804        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 805$$ LANGUAGE SQL IMMUTABLE;
 806CREATE OR REPLACE FUNCTION CAL_PPEK0191_EPSSGB(raw numeric)
 807RETURNS numeric AS $$
 808    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 809        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 810        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 811        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 812$$ LANGUAGE SQL IMMUTABLE;
 813CREATE OR REPLACE FUNCTION CAL_RUEK8047_EPSSGA(raw numeric)
 814RETURNS numeric AS $$
 815    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 816        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 817        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 818        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 819$$ LANGUAGE SQL IMMUTABLE;
 820CREATE OR REPLACE FUNCTION CAL_RUEK8047_EPSSGB(raw numeric)
 821RETURNS numeric AS $$
 822    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 823        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 824        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 825        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 826$$ LANGUAGE SQL IMMUTABLE;
 827CREATE OR REPLACE FUNCTION CAL_PPEK0206_EPSSGA(raw numeric)
 828RETURNS numeric AS $$
 829    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 830        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 831        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 832        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 833$$ LANGUAGE SQL IMMUTABLE;
 834CREATE OR REPLACE FUNCTION CAL_PPEK0206_EPSSGB(raw numeric)
 835RETURNS numeric AS $$
 836    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 837        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 838        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 839        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 840$$ LANGUAGE SQL IMMUTABLE;
 841CREATE OR REPLACE FUNCTION CAL_PPEK0107_EPSSGA(raw numeric)
 842RETURNS numeric AS $$
 843    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 844        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 845        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 846        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 847$$ LANGUAGE SQL IMMUTABLE;
 848CREATE OR REPLACE FUNCTION CAL_PPEK0107_EPSSGB(raw numeric)
 849RETURNS numeric AS $$
 850    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 851        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 852        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 853        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 854$$ LANGUAGE SQL IMMUTABLE;
 855CREATE OR REPLACE FUNCTION CAL_BHKE0033_EPSSGA(raw numeric)
 856RETURNS numeric AS $$
 857    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 858        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 859        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 860        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 861$$ LANGUAGE SQL IMMUTABLE;
 862CREATE OR REPLACE FUNCTION CAL_BHKE0033_EPSSGB(raw numeric)
 863RETURNS numeric AS $$
 864    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 865        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 866        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 867        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 868$$ LANGUAGE SQL IMMUTABLE;
 869CREATE OR REPLACE FUNCTION CAL_NAKP8603_EPSSGA(raw numeric)
 870RETURNS numeric AS $$
 871    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 872        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 873        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 874        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 875$$ LANGUAGE SQL IMMUTABLE;
 876CREATE OR REPLACE FUNCTION CAL_NAKP8603_EPSSGB(raw numeric)
 877RETURNS numeric AS $$
 878    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 879        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 880        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 881        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 882$$ LANGUAGE SQL IMMUTABLE;
 883CREATE OR REPLACE FUNCTION CAL_RUEK8072_EPSSGA(raw numeric)
 884RETURNS numeric AS $$
 885    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 886        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 887        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 888        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 889$$ LANGUAGE SQL IMMUTABLE;
 890CREATE OR REPLACE FUNCTION CAL_RUEK8072_EPSSGB(raw numeric)
 891RETURNS numeric AS $$
 892    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 893        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 894        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 895        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 896$$ LANGUAGE SQL IMMUTABLE;
 897CREATE OR REPLACE FUNCTION CAL_PPEK0194_EPSSGA(raw numeric)
 898RETURNS numeric AS $$
 899    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 900        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 901        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 902        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 903$$ LANGUAGE SQL IMMUTABLE;
 904CREATE OR REPLACE FUNCTION CAL_PPEK0194_EPSSGB(raw numeric)
 905RETURNS numeric AS $$
 906    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 907        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 908        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 909        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 910$$ LANGUAGE SQL IMMUTABLE;
 911CREATE OR REPLACE FUNCTION CAL_RKEK0044_EPSSGA(raw numeric)
 912RETURNS numeric AS $$
 913    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 914        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 915        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 916        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 917$$ LANGUAGE SQL IMMUTABLE;
 918CREATE OR REPLACE FUNCTION CAL_RKEK0044_EPSSGB(raw numeric)
 919RETURNS numeric AS $$
 920    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 921        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 922        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 923        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 924$$ LANGUAGE SQL IMMUTABLE;
 925CREATE OR REPLACE FUNCTION CAL_XXKP0651_EPSSGA(raw numeric)
 926RETURNS numeric AS $$
 927    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 928        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 929        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 930        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 931$$ LANGUAGE SQL IMMUTABLE;
 932CREATE OR REPLACE FUNCTION CAL_XXKP0651_EPSSGB(raw numeric)
 933RETURNS numeric AS $$
 934    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 935        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 936        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 937        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 938$$ LANGUAGE SQL IMMUTABLE;
 939CREATE OR REPLACE FUNCTION CAL_PFEKP006_EPSSGA(raw numeric)
 940RETURNS numeric AS $$
 941    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 942        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 943        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 944        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 945$$ LANGUAGE SQL IMMUTABLE;
 946CREATE OR REPLACE FUNCTION CAL_PFEKP006_EPSSGB(raw numeric)
 947RETURNS numeric AS $$
 948    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 949        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 950        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 951        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 952$$ LANGUAGE SQL IMMUTABLE;
 953CREATE OR REPLACE FUNCTION CAL_XXKP0411_EPSSGA(raw numeric)
 954RETURNS numeric AS $$
 955    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 956        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 957        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 958        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 959$$ LANGUAGE SQL IMMUTABLE;
 960CREATE OR REPLACE FUNCTION CAL_XXKP0411_EPSSGB(raw numeric)
 961RETURNS numeric AS $$
 962    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 963        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 964        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 965        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 966$$ LANGUAGE SQL IMMUTABLE;
 967CREATE OR REPLACE FUNCTION CAL_BHKP0017_EPSSGA(raw numeric)
 968RETURNS numeric AS $$
 969    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 970        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 971        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 972        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 973$$ LANGUAGE SQL IMMUTABLE;
 974CREATE OR REPLACE FUNCTION CAL_BHKP0017_EPSSGB(raw numeric)
 975RETURNS numeric AS $$
 976    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 977        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 978        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 979        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 980$$ LANGUAGE SQL IMMUTABLE;
 981CREATE OR REPLACE FUNCTION CAL_PPEK0207_EPSSGA(raw numeric)
 982RETURNS numeric AS $$
 983    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 984        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 985        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 986        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 987$$ LANGUAGE SQL IMMUTABLE;
 988CREATE OR REPLACE FUNCTION CAL_PPEK0207_EPSSGB(raw numeric)
 989RETURNS numeric AS $$
 990    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 991        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 992        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
 993        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
 994$$ LANGUAGE SQL IMMUTABLE;
 995CREATE OR REPLACE FUNCTION CAL_NAKP8029_EPSSGA(raw numeric)
 996RETURNS numeric AS $$
 997    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
 998        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
 999        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1000        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1001$$ LANGUAGE SQL IMMUTABLE;
1002CREATE OR REPLACE FUNCTION CAL_NAKP8029_EPSSGB(raw numeric)
1003RETURNS numeric AS $$
1004    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1005        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1006        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1007        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1008$$ LANGUAGE SQL IMMUTABLE;
1009CREATE OR REPLACE FUNCTION CAL_PPEK0702_EPSSGA(raw numeric)
1010RETURNS numeric AS $$
1011    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1012        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1013        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1014        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1015$$ LANGUAGE SQL IMMUTABLE;
1016CREATE OR REPLACE FUNCTION CAL_PPEK0702_EPSSGB(raw numeric)
1017RETURNS numeric AS $$
1018    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1019        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1020        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1021        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1022$$ LANGUAGE SQL IMMUTABLE;
1023CREATE OR REPLACE FUNCTION CAL_APKT9004_EPSSGA(raw numeric)
1024RETURNS numeric AS $$
1025    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1026        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1027        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1028        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1029$$ LANGUAGE SQL IMMUTABLE;
1030CREATE OR REPLACE FUNCTION CAL_APKT9004_EPSSGB(raw numeric)
1031RETURNS numeric AS $$
1032    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1033        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1034        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1035        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1036$$ LANGUAGE SQL IMMUTABLE;
1037CREATE OR REPLACE FUNCTION CAL_XXKP0413_EPSSGA(raw numeric)
1038RETURNS numeric AS $$
1039    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1040        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1041        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1042        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1043$$ LANGUAGE SQL IMMUTABLE;
1044CREATE OR REPLACE FUNCTION CAL_XXKP0413_EPSSGB(raw numeric)
1045RETURNS numeric AS $$
1046    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1047        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1048        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1049        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1050$$ LANGUAGE SQL IMMUTABLE;
1051CREATE OR REPLACE FUNCTION CAL_PPEK0240_EPSSGA(raw numeric)
1052RETURNS numeric AS $$
1053    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1054        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1055        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1056        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1057$$ LANGUAGE SQL IMMUTABLE;
1058CREATE OR REPLACE FUNCTION CAL_PPEK0240_EPSSGB(raw numeric)
1059RETURNS numeric AS $$
1060    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1061        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1062        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1063        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1064$$ LANGUAGE SQL IMMUTABLE;
1065CREATE OR REPLACE FUNCTION CAL_XXKP0567_EPSSGA(raw numeric)
1066RETURNS numeric AS $$
1067    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1068        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1069        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1070        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1071$$ LANGUAGE SQL IMMUTABLE;
1072CREATE OR REPLACE FUNCTION CAL_XXKP0567_EPSSGB(raw numeric)
1073RETURNS numeric AS $$
1074    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1075        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1076        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1077        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1078$$ LANGUAGE SQL IMMUTABLE;
1079CREATE OR REPLACE FUNCTION CAL_PPEK0203_EPSSGA(raw numeric)
1080RETURNS numeric AS $$
1081    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1082        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1083        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1084        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1085$$ LANGUAGE SQL IMMUTABLE;
1086CREATE OR REPLACE FUNCTION CAL_PPEK0203_EPSSGB(raw numeric)
1087RETURNS numeric AS $$
1088    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1089        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1090        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1091        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1092$$ LANGUAGE SQL IMMUTABLE;
1093CREATE OR REPLACE FUNCTION CAL_XXKP0520_EPSSGA(raw numeric)
1094RETURNS numeric AS $$
1095    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1096        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1097        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1098        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1099$$ LANGUAGE SQL IMMUTABLE;
1100CREATE OR REPLACE FUNCTION CAL_XXKP0520_EPSSGB(raw numeric)
1101RETURNS numeric AS $$
1102    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1103        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1104        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1105        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1106$$ LANGUAGE SQL IMMUTABLE;
1107CREATE OR REPLACE FUNCTION CAL_PPEK0165_EPSSGA(raw numeric)
1108RETURNS numeric AS $$
1109    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1110        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1111        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1112        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1113$$ LANGUAGE SQL IMMUTABLE;
1114CREATE OR REPLACE FUNCTION CAL_PPEK0165_EPSSGB(raw numeric)
1115RETURNS numeric AS $$
1116    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1117        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1118        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1119        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1120$$ LANGUAGE SQL IMMUTABLE;
1121CREATE OR REPLACE FUNCTION CAL_PPEK0681_EPSSGA(raw numeric)
1122RETURNS numeric AS $$
1123    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1124        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1125        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1126        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1127$$ LANGUAGE SQL IMMUTABLE;
1128CREATE OR REPLACE FUNCTION CAL_PPEK0681_EPSSGB(raw numeric)
1129RETURNS numeric AS $$
1130    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1131        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1132        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1133        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1134$$ LANGUAGE SQL IMMUTABLE;
1135CREATE OR REPLACE FUNCTION CAL_BHKE0003_EPSSGA(raw numeric)
1136RETURNS numeric AS $$
1137    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1138        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1139        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1140        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1141$$ LANGUAGE SQL IMMUTABLE;
1142CREATE OR REPLACE FUNCTION CAL_BHKE0003_EPSSGB(raw numeric)
1143RETURNS numeric AS $$
1144    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1145        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1146        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1147        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1148$$ LANGUAGE SQL IMMUTABLE;
1149CREATE OR REPLACE FUNCTION CAL_PPEK0143_EPSSGA(raw numeric)
1150RETURNS numeric AS $$
1151    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1152        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1153        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1154        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1155$$ LANGUAGE SQL IMMUTABLE;
1156CREATE OR REPLACE FUNCTION CAL_PPEK0143_EPSSGB(raw numeric)
1157RETURNS numeric AS $$
1158    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1159        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1160        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1161        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1162$$ LANGUAGE SQL IMMUTABLE;
1163CREATE OR REPLACE FUNCTION CAL_PPEK0409_EPSSGA(raw numeric)
1164RETURNS numeric AS $$
1165    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1166        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1167        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1168        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1169$$ LANGUAGE SQL IMMUTABLE;
1170CREATE OR REPLACE FUNCTION CAL_PPEK0409_EPSSGB(raw numeric)
1171RETURNS numeric AS $$
1172    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1173        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1174        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1175        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1176$$ LANGUAGE SQL IMMUTABLE;
1177CREATE OR REPLACE FUNCTION CAL_AMK00002_EPSSGA(raw numeric)
1178RETURNS numeric AS $$
1179    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1180        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1181        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1182        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1183$$ LANGUAGE SQL IMMUTABLE;
1184CREATE OR REPLACE FUNCTION CAL_AMK00002_EPSSGB(raw numeric)
1185RETURNS numeric AS $$
1186    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1187        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1188        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1189        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1190$$ LANGUAGE SQL IMMUTABLE;
1191CREATE OR REPLACE FUNCTION CAL_PPEK0651_EPSSGA(raw numeric)
1192RETURNS numeric AS $$
1193    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1194        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1195        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1196        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1197$$ LANGUAGE SQL IMMUTABLE;
1198CREATE OR REPLACE FUNCTION CAL_PPEK0651_EPSSGB(raw numeric)
1199RETURNS numeric AS $$
1200    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1201        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1202        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1203        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1204$$ LANGUAGE SQL IMMUTABLE;
1205CREATE OR REPLACE FUNCTION CAL_XXKP0560_EPSSGA(raw numeric)
1206RETURNS numeric AS $$
1207    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1208        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1209        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1210        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1211$$ LANGUAGE SQL IMMUTABLE;
1212CREATE OR REPLACE FUNCTION CAL_XXKP0560_EPSSGB(raw numeric)
1213RETURNS numeric AS $$
1214    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1215        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1216        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1217        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1218$$ LANGUAGE SQL IMMUTABLE;
1219CREATE OR REPLACE FUNCTION CAL_PPEK0634_EPSSGA(raw numeric)
1220RETURNS numeric AS $$
1221    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1222        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1223        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1224        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1225$$ LANGUAGE SQL IMMUTABLE;
1226CREATE OR REPLACE FUNCTION CAL_PPEK0634_EPSSGB(raw numeric)
1227RETURNS numeric AS $$
1228    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1229        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1230        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1231        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1232$$ LANGUAGE SQL IMMUTABLE;
1233CREATE OR REPLACE FUNCTION CAL_PPEK0122_EPSSGA(raw numeric)
1234RETURNS numeric AS $$
1235    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1236        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1237        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1238        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1239$$ LANGUAGE SQL IMMUTABLE;
1240CREATE OR REPLACE FUNCTION CAL_PPEK0122_EPSSGB(raw numeric)
1241RETURNS numeric AS $$
1242    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1243        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1244        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1245        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1246$$ LANGUAGE SQL IMMUTABLE;
1247CREATE OR REPLACE FUNCTION CAL_NAKP8518_EPSSGA(raw numeric)
1248RETURNS numeric AS $$
1249    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1250        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1251        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1252        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1253$$ LANGUAGE SQL IMMUTABLE;
1254CREATE OR REPLACE FUNCTION CAL_NAKP8518_EPSSGB(raw numeric)
1255RETURNS numeric AS $$
1256    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1257        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1258        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1259        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1260$$ LANGUAGE SQL IMMUTABLE;
1261CREATE OR REPLACE FUNCTION CAL_IUKE0001_EPSSGA(raw numeric)
1262RETURNS numeric AS $$
1263    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1264        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1265        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1266        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1267$$ LANGUAGE SQL IMMUTABLE;
1268CREATE OR REPLACE FUNCTION CAL_IUKE0001_EPSSGB(raw numeric)
1269RETURNS numeric AS $$
1270    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1271        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1272        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1273        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1274$$ LANGUAGE SQL IMMUTABLE;
1275CREATE OR REPLACE FUNCTION CAL_PPEK0625_EPSSGA(raw numeric)
1276RETURNS numeric AS $$
1277    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1278        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1279        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1280        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1281$$ LANGUAGE SQL IMMUTABLE;
1282CREATE OR REPLACE FUNCTION CAL_PPEK0625_EPSSGB(raw numeric)
1283RETURNS numeric AS $$
1284    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1285        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1286        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1287        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1288$$ LANGUAGE SQL IMMUTABLE;
1289CREATE OR REPLACE FUNCTION CAL_RUEK8031_EPSSGA(raw numeric)
1290RETURNS numeric AS $$
1291    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1292        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1293        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1294        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1295$$ LANGUAGE SQL IMMUTABLE;
1296CREATE OR REPLACE FUNCTION CAL_RUEK8031_EPSSGB(raw numeric)
1297RETURNS numeric AS $$
1298    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1299        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1300        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1301        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1302$$ LANGUAGE SQL IMMUTABLE;
1303CREATE OR REPLACE FUNCTION CAL_PPEK0546_EPSSGA(raw numeric)
1304RETURNS numeric AS $$
1305    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1306        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1307        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1308        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1309$$ LANGUAGE SQL IMMUTABLE;
1310CREATE OR REPLACE FUNCTION CAL_PPEK0546_EPSSGB(raw numeric)
1311RETURNS numeric AS $$
1312    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1313        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1314        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1315        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1316$$ LANGUAGE SQL IMMUTABLE;
1317CREATE OR REPLACE FUNCTION CAL_RKEK0027_EPSSGA(raw numeric)
1318RETURNS numeric AS $$
1319    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1320        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1321        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1322        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1323$$ LANGUAGE SQL IMMUTABLE;
1324CREATE OR REPLACE FUNCTION CAL_RKEK0027_EPSSGB(raw numeric)
1325RETURNS numeric AS $$
1326    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1327        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1328        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1329        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1330$$ LANGUAGE SQL IMMUTABLE;
1331CREATE OR REPLACE FUNCTION CAL_PPEK0112_EPSSGA(raw numeric)
1332RETURNS numeric AS $$
1333    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1334        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1335        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1336        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1337$$ LANGUAGE SQL IMMUTABLE;
1338CREATE OR REPLACE FUNCTION CAL_PPEK0112_EPSSGB(raw numeric)
1339RETURNS numeric AS $$
1340    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1341        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1342        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1343        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1344$$ LANGUAGE SQL IMMUTABLE;
1345CREATE OR REPLACE FUNCTION CAL_NAKP8021_EPSSGA(raw numeric)
1346RETURNS numeric AS $$
1347    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1348        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1349        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1350        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1351$$ LANGUAGE SQL IMMUTABLE;
1352CREATE OR REPLACE FUNCTION CAL_NAKP8021_EPSSGB(raw numeric)
1353RETURNS numeric AS $$
1354    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1355        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1356        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1357        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1358$$ LANGUAGE SQL IMMUTABLE;
1359CREATE OR REPLACE FUNCTION CAL_CSKOBPSDEG_EPSSGA(raw numeric)
1360RETURNS numeric AS $$
1361    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1362        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1363        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1364        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1365$$ LANGUAGE SQL IMMUTABLE;
1366CREATE OR REPLACE FUNCTION CAL_CSKOBPSDEG_EPSSGB(raw numeric)
1367RETURNS numeric AS $$
1368    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1369        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1370        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1371        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1372$$ LANGUAGE SQL IMMUTABLE;
1373CREATE OR REPLACE FUNCTION CAL_PPEK0618_EPSSGA(raw numeric)
1374RETURNS numeric AS $$
1375    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1376        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1377        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1378        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1379$$ LANGUAGE SQL IMMUTABLE;
1380CREATE OR REPLACE FUNCTION CAL_PPEK0618_EPSSGB(raw numeric)
1381RETURNS numeric AS $$
1382    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1383        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1384        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1385        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1386$$ LANGUAGE SQL IMMUTABLE;
1387CREATE OR REPLACE FUNCTION CAL_PPEK0189_EPSSGA(raw numeric)
1388RETURNS numeric AS $$
1389    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1390        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1391        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1392        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1393$$ LANGUAGE SQL IMMUTABLE;
1394CREATE OR REPLACE FUNCTION CAL_PPEK0189_EPSSGB(raw numeric)
1395RETURNS numeric AS $$
1396    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1397        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1398        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1399        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1400$$ LANGUAGE SQL IMMUTABLE;
1401CREATE OR REPLACE FUNCTION CAL_PPEK0305_EPSSGA(raw numeric)
1402RETURNS numeric AS $$
1403    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1404        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1405        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1406        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1407$$ LANGUAGE SQL IMMUTABLE;
1408CREATE OR REPLACE FUNCTION CAL_PPEK0305_EPSSGB(raw numeric)
1409RETURNS numeric AS $$
1410    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1411        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1412        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1413        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1414$$ LANGUAGE SQL IMMUTABLE;
1415CREATE OR REPLACE FUNCTION CAL_RKEK0019_EPSSGA(raw numeric)
1416RETURNS numeric AS $$
1417    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1418        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1419        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1420        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1421$$ LANGUAGE SQL IMMUTABLE;
1422CREATE OR REPLACE FUNCTION CAL_RKEK0019_EPSSGB(raw numeric)
1423RETURNS numeric AS $$
1424    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1425        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1426        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1427        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1428$$ LANGUAGE SQL IMMUTABLE;
1429CREATE OR REPLACE FUNCTION CAL_PPEK0188_EPSSGA(raw numeric)
1430RETURNS numeric AS $$
1431    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1432        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1433        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1434        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1435$$ LANGUAGE SQL IMMUTABLE;
1436CREATE OR REPLACE FUNCTION CAL_PPEK0188_EPSSGB(raw numeric)
1437RETURNS numeric AS $$
1438    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1439        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1440        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1441        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1442$$ LANGUAGE SQL IMMUTABLE;
1443CREATE OR REPLACE FUNCTION CAL_WPK00001_EPSSGA(raw numeric)
1444RETURNS numeric AS $$
1445    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1446        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1447        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1448        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1449$$ LANGUAGE SQL IMMUTABLE;
1450CREATE OR REPLACE FUNCTION CAL_WPK00001_EPSSGB(raw numeric)
1451RETURNS numeric AS $$
1452    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1453        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1454        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1455        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1456$$ LANGUAGE SQL IMMUTABLE;
1457CREATE OR REPLACE FUNCTION CAL_PPEK0237_EPSSGA(raw numeric)
1458RETURNS numeric AS $$
1459    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1460        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1461        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1462        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1463$$ LANGUAGE SQL IMMUTABLE;
1464CREATE OR REPLACE FUNCTION CAL_PPEK0237_EPSSGB(raw numeric)
1465RETURNS numeric AS $$
1466    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1467        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1468        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1469        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1470$$ LANGUAGE SQL IMMUTABLE;
1471CREATE OR REPLACE FUNCTION CAL_PPEK0211_EPSSGA(raw numeric)
1472RETURNS numeric AS $$
1473    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1474        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1475        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1476        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1477$$ LANGUAGE SQL IMMUTABLE;
1478CREATE OR REPLACE FUNCTION CAL_PPEK0211_EPSSGB(raw numeric)
1479RETURNS numeric AS $$
1480    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1481        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1482        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1483        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1484$$ LANGUAGE SQL IMMUTABLE;
1485CREATE OR REPLACE FUNCTION CAL_PPEK0158_EPSSGA(raw numeric)
1486RETURNS numeric AS $$
1487    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1488        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1489        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1490        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1491$$ LANGUAGE SQL IMMUTABLE;
1492CREATE OR REPLACE FUNCTION CAL_PPEK0158_EPSSGB(raw numeric)
1493RETURNS numeric AS $$
1494    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1495        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1496        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1497        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1498$$ LANGUAGE SQL IMMUTABLE;
1499CREATE OR REPLACE FUNCTION CAL_PPEK0677_EPSSGA(raw numeric)
1500RETURNS numeric AS $$
1501    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1502        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1503        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1504        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1505$$ LANGUAGE SQL IMMUTABLE;
1506CREATE OR REPLACE FUNCTION CAL_PPEK0677_EPSSGB(raw numeric)
1507RETURNS numeric AS $$
1508    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1509        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1510        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1511        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1512$$ LANGUAGE SQL IMMUTABLE;
1513CREATE OR REPLACE FUNCTION CAL_XXKP0657_EPSSGA(raw numeric)
1514RETURNS numeric AS $$
1515    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1516        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1517        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1518        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1519$$ LANGUAGE SQL IMMUTABLE;
1520CREATE OR REPLACE FUNCTION CAL_XXKP0657_EPSSGB(raw numeric)
1521RETURNS numeric AS $$
1522    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1523        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1524        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1525        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1526$$ LANGUAGE SQL IMMUTABLE;
1527CREATE OR REPLACE FUNCTION CAL_PPEK0306_EPSSGA(raw numeric)
1528RETURNS numeric AS $$
1529    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1530        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1531        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1532        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1533$$ LANGUAGE SQL IMMUTABLE;
1534CREATE OR REPLACE FUNCTION CAL_PPEK0306_EPSSGB(raw numeric)
1535RETURNS numeric AS $$
1536    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1537        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1538        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1539        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1540$$ LANGUAGE SQL IMMUTABLE;
1541CREATE OR REPLACE FUNCTION CAL_RUEK8042_EPSSGA(raw numeric)
1542RETURNS numeric AS $$
1543    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1544        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1545        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1546        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1547$$ LANGUAGE SQL IMMUTABLE;
1548CREATE OR REPLACE FUNCTION CAL_RUEK8042_EPSSGB(raw numeric)
1549RETURNS numeric AS $$
1550    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1551        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1552        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1553        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1554$$ LANGUAGE SQL IMMUTABLE;
1555CREATE OR REPLACE FUNCTION CAL_RUEKP087_EPSSGA(raw numeric)
1556RETURNS numeric AS $$
1557    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1558        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1559        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1560        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1561$$ LANGUAGE SQL IMMUTABLE;
1562CREATE OR REPLACE FUNCTION CAL_RUEKP087_EPSSGB(raw numeric)
1563RETURNS numeric AS $$
1564    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1565        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1566        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1567        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1568$$ LANGUAGE SQL IMMUTABLE;
1569CREATE OR REPLACE FUNCTION CAL_PPEK0525_EPSSGA(raw numeric)
1570RETURNS numeric AS $$
1571    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1572        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1573        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1574        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1575$$ LANGUAGE SQL IMMUTABLE;
1576CREATE OR REPLACE FUNCTION CAL_PPEK0525_EPSSGB(raw numeric)
1577RETURNS numeric AS $$
1578    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1579        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1580        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1581        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1582$$ LANGUAGE SQL IMMUTABLE;
1583CREATE OR REPLACE FUNCTION CAL_XXKP0453_EPSSGA(raw numeric)
1584RETURNS numeric AS $$
1585    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1586        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1587        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1588        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1589$$ LANGUAGE SQL IMMUTABLE;
1590CREATE OR REPLACE FUNCTION CAL_XXKP0453_EPSSGB(raw numeric)
1591RETURNS numeric AS $$
1592    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1593        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1594        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1595        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1596$$ LANGUAGE SQL IMMUTABLE;
1597CREATE OR REPLACE FUNCTION CAL_RUEK8070_EPSSGA(raw numeric)
1598RETURNS numeric AS $$
1599    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1600        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1601        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1602        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1603$$ LANGUAGE SQL IMMUTABLE;
1604CREATE OR REPLACE FUNCTION CAL_RUEK8070_EPSSGB(raw numeric)
1605RETURNS numeric AS $$
1606    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1607        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1608        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1609        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1610$$ LANGUAGE SQL IMMUTABLE;
1611CREATE OR REPLACE FUNCTION CAL_RKEK0045_EPSSGA(raw numeric)
1612RETURNS numeric AS $$
1613    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1614        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1615        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1616        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1617$$ LANGUAGE SQL IMMUTABLE;
1618CREATE OR REPLACE FUNCTION CAL_RKEK0045_EPSSGB(raw numeric)
1619RETURNS numeric AS $$
1620    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1621        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1622        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1623        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1624$$ LANGUAGE SQL IMMUTABLE;
1625CREATE OR REPLACE FUNCTION CAL_RKEK1038_EPSSGA(raw numeric)
1626RETURNS numeric AS $$
1627    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1628        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1629        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1630        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1631$$ LANGUAGE SQL IMMUTABLE;
1632CREATE OR REPLACE FUNCTION CAL_RKEK1038_EPSSGB(raw numeric)
1633RETURNS numeric AS $$
1634    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1635        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1636        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1637        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1638$$ LANGUAGE SQL IMMUTABLE;
1639CREATE OR REPLACE FUNCTION CAL_PPEK0301_EPSSGA(raw numeric)
1640RETURNS numeric AS $$
1641    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1642        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1643        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1644        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1645$$ LANGUAGE SQL IMMUTABLE;
1646CREATE OR REPLACE FUNCTION CAL_PPEK0301_EPSSGB(raw numeric)
1647RETURNS numeric AS $$
1648    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1649        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1650        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1651        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1652$$ LANGUAGE SQL IMMUTABLE;
1653CREATE OR REPLACE FUNCTION CAL_PPEK0307_EPSSGA(raw numeric)
1654RETURNS numeric AS $$
1655    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1656        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1657        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1658        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1659$$ LANGUAGE SQL IMMUTABLE;
1660CREATE OR REPLACE FUNCTION CAL_PPEK0307_EPSSGB(raw numeric)
1661RETURNS numeric AS $$
1662    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1663        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1664        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1665        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1666$$ LANGUAGE SQL IMMUTABLE;
1667CREATE OR REPLACE FUNCTION CAL_XXKP0561_EPSSGA(raw numeric)
1668RETURNS numeric AS $$
1669    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1670        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1671        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1672        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1673$$ LANGUAGE SQL IMMUTABLE;
1674CREATE OR REPLACE FUNCTION CAL_XXKP0561_EPSSGB(raw numeric)
1675RETURNS numeric AS $$
1676    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1677        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1678        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1679        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1680$$ LANGUAGE SQL IMMUTABLE;
1681CREATE OR REPLACE FUNCTION CAL_XXKP0403_EPSSGA(raw numeric)
1682RETURNS numeric AS $$
1683    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1684        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1685        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1686        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1687$$ LANGUAGE SQL IMMUTABLE;
1688CREATE OR REPLACE FUNCTION CAL_XXKP0403_EPSSGB(raw numeric)
1689RETURNS numeric AS $$
1690    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1691        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1692        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1693        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1694$$ LANGUAGE SQL IMMUTABLE;
1695CREATE OR REPLACE FUNCTION CAL_BHKP0025_EPSSGA(raw numeric)
1696RETURNS numeric AS $$
1697    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1698        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1699        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1700        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1701$$ LANGUAGE SQL IMMUTABLE;
1702CREATE OR REPLACE FUNCTION CAL_BHKP0025_EPSSGB(raw numeric)
1703RETURNS numeric AS $$
1704    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1705        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1706        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1707        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1708$$ LANGUAGE SQL IMMUTABLE;
1709CREATE OR REPLACE FUNCTION CAL_ILKP0006_EPSSGA(raw numeric)
1710RETURNS numeric AS $$
1711    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1712        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1713        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1714        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1715$$ LANGUAGE SQL IMMUTABLE;
1716CREATE OR REPLACE FUNCTION CAL_ILKP0006_EPSSGB(raw numeric)
1717RETURNS numeric AS $$
1718    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1719        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1720        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1721        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1722$$ LANGUAGE SQL IMMUTABLE;
1723CREATE OR REPLACE FUNCTION CAL_BHKP0023_EPSSGA(raw numeric)
1724RETURNS numeric AS $$
1725    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1726        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1727        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1728        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1729$$ LANGUAGE SQL IMMUTABLE;
1730CREATE OR REPLACE FUNCTION CAL_BHKP0023_EPSSGB(raw numeric)
1731RETURNS numeric AS $$
1732    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1733        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1734        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1735        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1736$$ LANGUAGE SQL IMMUTABLE;
1737CREATE OR REPLACE FUNCTION CAL_XXKP0390_EPSSGA(raw numeric)
1738RETURNS numeric AS $$
1739    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1740        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1741        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1742        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1743$$ LANGUAGE SQL IMMUTABLE;
1744CREATE OR REPLACE FUNCTION CAL_XXKP0390_EPSSGB(raw numeric)
1745RETURNS numeric AS $$
1746    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1747        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1748        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1749        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1750$$ LANGUAGE SQL IMMUTABLE;
1751CREATE OR REPLACE FUNCTION CAL_PPEK0160_EPSSGA(raw numeric)
1752RETURNS numeric AS $$
1753    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1754        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1755        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1756        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1757$$ LANGUAGE SQL IMMUTABLE;
1758CREATE OR REPLACE FUNCTION CAL_PPEK0160_EPSSGB(raw numeric)
1759RETURNS numeric AS $$
1760    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1761        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1762        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1763        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1764$$ LANGUAGE SQL IMMUTABLE;
1765CREATE OR REPLACE FUNCTION CAL_BHKE0030_EPSSGA(raw numeric)
1766RETURNS numeric AS $$
1767    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1768        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1769        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1770        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1771$$ LANGUAGE SQL IMMUTABLE;
1772CREATE OR REPLACE FUNCTION CAL_BHKE0030_EPSSGB(raw numeric)
1773RETURNS numeric AS $$
1774    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1775        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1776        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1777        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1778$$ LANGUAGE SQL IMMUTABLE;
1779CREATE OR REPLACE FUNCTION CAL_NAKP8014_EPSSGA(raw numeric)
1780RETURNS numeric AS $$
1781    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1782        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1783        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1784        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1785$$ LANGUAGE SQL IMMUTABLE;
1786CREATE OR REPLACE FUNCTION CAL_NAKP8014_EPSSGB(raw numeric)
1787RETURNS numeric AS $$
1788    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1789        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1790        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1791        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1792$$ LANGUAGE SQL IMMUTABLE;
1793CREATE OR REPLACE FUNCTION CAL_PPEK0616_EPSSGA(raw numeric)
1794RETURNS numeric AS $$
1795    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1796        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1797        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1798        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1799$$ LANGUAGE SQL IMMUTABLE;
1800CREATE OR REPLACE FUNCTION CAL_PPEK0616_EPSSGB(raw numeric)
1801RETURNS numeric AS $$
1802    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1803        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1804        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1805        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1806$$ LANGUAGE SQL IMMUTABLE;
1807CREATE OR REPLACE FUNCTION CAL_BHKP0010_EPSSGA(raw numeric)
1808RETURNS numeric AS $$
1809    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1810        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1811        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1812        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1813$$ LANGUAGE SQL IMMUTABLE;
1814CREATE OR REPLACE FUNCTION CAL_BHKP0010_EPSSGB(raw numeric)
1815RETURNS numeric AS $$
1816    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1817        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1818        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1819        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1820$$ LANGUAGE SQL IMMUTABLE;
1821CREATE OR REPLACE FUNCTION CAL_BWKP0000_EPSSGA(raw numeric)
1822RETURNS numeric AS $$
1823    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1824        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1825        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1826        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1827$$ LANGUAGE SQL IMMUTABLE;
1828CREATE OR REPLACE FUNCTION CAL_BWKP0000_EPSSGB(raw numeric)
1829RETURNS numeric AS $$
1830    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1831        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1832        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1833        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1834$$ LANGUAGE SQL IMMUTABLE;
1835CREATE OR REPLACE FUNCTION CAL_PPEK0161_EPSSGA(raw numeric)
1836RETURNS numeric AS $$
1837    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1838        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1839        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1840        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1841$$ LANGUAGE SQL IMMUTABLE;
1842CREATE OR REPLACE FUNCTION CAL_PPEK0161_EPSSGB(raw numeric)
1843RETURNS numeric AS $$
1844    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1845        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1846        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1847        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1848$$ LANGUAGE SQL IMMUTABLE;
1849CREATE OR REPLACE FUNCTION CAL_ICKP0001_EPSSGA(raw numeric)
1850RETURNS numeric AS $$
1851    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1852        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1853        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1854        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1855$$ LANGUAGE SQL IMMUTABLE;
1856CREATE OR REPLACE FUNCTION CAL_ICKP0001_EPSSGB(raw numeric)
1857RETURNS numeric AS $$
1858    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1859        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1860        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1861        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1862$$ LANGUAGE SQL IMMUTABLE;
1863CREATE OR REPLACE FUNCTION CAL_PPEK0133_EPSSGA(raw numeric)
1864RETURNS numeric AS $$
1865    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1866        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1867        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1868        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1869$$ LANGUAGE SQL IMMUTABLE;
1870CREATE OR REPLACE FUNCTION CAL_PPEK0133_EPSSGB(raw numeric)
1871RETURNS numeric AS $$
1872    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1873        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1874        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1875        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1876$$ LANGUAGE SQL IMMUTABLE;
1877CREATE OR REPLACE FUNCTION CAL_PPEK0176_EPSSGA(raw numeric)
1878RETURNS numeric AS $$
1879    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1880        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1881        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1882        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1883$$ LANGUAGE SQL IMMUTABLE;
1884CREATE OR REPLACE FUNCTION CAL_PPEK0176_EPSSGB(raw numeric)
1885RETURNS numeric AS $$
1886    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1887        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1888        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1889        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1890$$ LANGUAGE SQL IMMUTABLE;
1891CREATE OR REPLACE FUNCTION CAL_RUEK8033_EPSSGA(raw numeric)
1892RETURNS numeric AS $$
1893    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1894        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1895        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1896        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1897$$ LANGUAGE SQL IMMUTABLE;
1898CREATE OR REPLACE FUNCTION CAL_RUEK8033_EPSSGB(raw numeric)
1899RETURNS numeric AS $$
1900    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1901        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1902        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1903        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1904$$ LANGUAGE SQL IMMUTABLE;
1905CREATE OR REPLACE FUNCTION CAL_RKEK1019_EPSSGA(raw numeric)
1906RETURNS numeric AS $$
1907    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1908        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1909        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1910        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1911$$ LANGUAGE SQL IMMUTABLE;
1912CREATE OR REPLACE FUNCTION CAL_RKEK1019_EPSSGB(raw numeric)
1913RETURNS numeric AS $$
1914    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1915        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1916        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1917        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1918$$ LANGUAGE SQL IMMUTABLE;
1919CREATE OR REPLACE FUNCTION CAL_PPEK0205_EPSSGA(raw numeric)
1920RETURNS numeric AS $$
1921    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1922        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1923        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1924        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1925$$ LANGUAGE SQL IMMUTABLE;
1926CREATE OR REPLACE FUNCTION CAL_PPEK0205_EPSSGB(raw numeric)
1927RETURNS numeric AS $$
1928    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1929        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1930        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1931        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1932$$ LANGUAGE SQL IMMUTABLE;
1933CREATE OR REPLACE FUNCTION CAL_RKEK1023_EPSSGA(raw numeric)
1934RETURNS numeric AS $$
1935    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1936        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1937        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1938        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1939$$ LANGUAGE SQL IMMUTABLE;
1940CREATE OR REPLACE FUNCTION CAL_RKEK1023_EPSSGB(raw numeric)
1941RETURNS numeric AS $$
1942    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1943        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1944        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1945        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1946$$ LANGUAGE SQL IMMUTABLE;
1947CREATE OR REPLACE FUNCTION CAL_PPEK0197_EPSSGA(raw numeric)
1948RETURNS numeric AS $$
1949    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1950        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1951        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1952        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1953$$ LANGUAGE SQL IMMUTABLE;
1954CREATE OR REPLACE FUNCTION CAL_PPEK0197_EPSSGB(raw numeric)
1955RETURNS numeric AS $$
1956    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1957        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1958        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1959        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1960$$ LANGUAGE SQL IMMUTABLE;
1961CREATE OR REPLACE FUNCTION CAL_PPEK0235_EPSSGA(raw numeric)
1962RETURNS numeric AS $$
1963    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1964        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1965        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1966        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1967$$ LANGUAGE SQL IMMUTABLE;
1968CREATE OR REPLACE FUNCTION CAL_PPEK0235_EPSSGB(raw numeric)
1969RETURNS numeric AS $$
1970    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1971        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1972        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1973        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1974$$ LANGUAGE SQL IMMUTABLE;
1975CREATE OR REPLACE FUNCTION CAL_RUEK9008_EPSSGA(raw numeric)
1976RETURNS numeric AS $$
1977    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1978        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1979        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1980        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1981$$ LANGUAGE SQL IMMUTABLE;
1982CREATE OR REPLACE FUNCTION CAL_RUEK9008_EPSSGB(raw numeric)
1983RETURNS numeric AS $$
1984    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1985        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1986        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1987        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1988$$ LANGUAGE SQL IMMUTABLE;
1989CREATE OR REPLACE FUNCTION CAL_BHKE0041_EPSSGA(raw numeric)
1990RETURNS numeric AS $$
1991    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1992        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
1993        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
1994        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
1995$$ LANGUAGE SQL IMMUTABLE;
1996CREATE OR REPLACE FUNCTION CAL_BHKE0041_EPSSGB(raw numeric)
1997RETURNS numeric AS $$
1998    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
1999        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2000        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2001        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2002$$ LANGUAGE SQL IMMUTABLE;
2003CREATE OR REPLACE FUNCTION CAL_PPEK0218_EPSSGA(raw numeric)
2004RETURNS numeric AS $$
2005    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2006        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2007        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2008        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2009$$ LANGUAGE SQL IMMUTABLE;
2010CREATE OR REPLACE FUNCTION CAL_PPEK0218_EPSSGB(raw numeric)
2011RETURNS numeric AS $$
2012    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2013        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2014        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2015        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2016$$ LANGUAGE SQL IMMUTABLE;
2017CREATE OR REPLACE FUNCTION CAL_XXKP0598_EPSSGA(raw numeric)
2018RETURNS numeric AS $$
2019    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2020        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2021        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2022        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2023$$ LANGUAGE SQL IMMUTABLE;
2024CREATE OR REPLACE FUNCTION CAL_XXKP0598_EPSSGB(raw numeric)
2025RETURNS numeric AS $$
2026    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2027        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2028        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2029        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2030$$ LANGUAGE SQL IMMUTABLE;
2031CREATE OR REPLACE FUNCTION CAL_XXKP0546_EPSSGA(raw numeric)
2032RETURNS numeric AS $$
2033    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2034        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2035        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2036        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2037$$ LANGUAGE SQL IMMUTABLE;
2038CREATE OR REPLACE FUNCTION CAL_XXKP0546_EPSSGB(raw numeric)
2039RETURNS numeric AS $$
2040    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2041        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2042        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2043        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2044$$ LANGUAGE SQL IMMUTABLE;
2045CREATE OR REPLACE FUNCTION CAL_XXKP0389_EPSSGA(raw numeric)
2046RETURNS numeric AS $$
2047    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2048        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2049        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2050        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2051$$ LANGUAGE SQL IMMUTABLE;
2052CREATE OR REPLACE FUNCTION CAL_XXKP0389_EPSSGB(raw numeric)
2053RETURNS numeric AS $$
2054    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2055        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2056        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2057        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2058$$ LANGUAGE SQL IMMUTABLE;
2059CREATE OR REPLACE FUNCTION CAL_XXKP0602_EPSSGA(raw numeric)
2060RETURNS numeric AS $$
2061    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2062        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2063        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2064        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2065$$ LANGUAGE SQL IMMUTABLE;
2066CREATE OR REPLACE FUNCTION CAL_XXKP0602_EPSSGB(raw numeric)
2067RETURNS numeric AS $$
2068    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2069        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2070        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2071        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2072$$ LANGUAGE SQL IMMUTABLE;
2073CREATE OR REPLACE FUNCTION CAL_XXKP0554_EPSSGA(raw numeric)
2074RETURNS numeric AS $$
2075    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2076        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2077        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2078        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2079$$ LANGUAGE SQL IMMUTABLE;
2080CREATE OR REPLACE FUNCTION CAL_XXKP0554_EPSSGB(raw numeric)
2081RETURNS numeric AS $$
2082    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2083        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2084        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2085        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2086$$ LANGUAGE SQL IMMUTABLE;
2087CREATE OR REPLACE FUNCTION CAL_XXKP0628_EPSSGA(raw numeric)
2088RETURNS numeric AS $$
2089    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2090        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2091        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2092        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2093$$ LANGUAGE SQL IMMUTABLE;
2094CREATE OR REPLACE FUNCTION CAL_XXKP0628_EPSSGB(raw numeric)
2095RETURNS numeric AS $$
2096    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2097        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2098        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2099        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2100$$ LANGUAGE SQL IMMUTABLE;
2101CREATE OR REPLACE FUNCTION CAL_PPEK0621_EPSSGA(raw numeric)
2102RETURNS numeric AS $$
2103    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2104        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2105        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2106        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2107$$ LANGUAGE SQL IMMUTABLE;
2108CREATE OR REPLACE FUNCTION CAL_PPEK0621_EPSSGB(raw numeric)
2109RETURNS numeric AS $$
2110    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2111        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2112        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2113        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2114$$ LANGUAGE SQL IMMUTABLE;
2115CREATE OR REPLACE FUNCTION CAL_BHKE0046_EPSSGA(raw numeric)
2116RETURNS numeric AS $$
2117    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2118        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2119        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2120        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2121$$ LANGUAGE SQL IMMUTABLE;
2122CREATE OR REPLACE FUNCTION CAL_BHKE0046_EPSSGB(raw numeric)
2123RETURNS numeric AS $$
2124    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2125        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2126        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2127        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2128$$ LANGUAGE SQL IMMUTABLE;
2129CREATE OR REPLACE FUNCTION CAL_PPEK0222_EPSSGA(raw numeric)
2130RETURNS numeric AS $$
2131    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2132        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2133        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2134        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2135$$ LANGUAGE SQL IMMUTABLE;
2136CREATE OR REPLACE FUNCTION CAL_PPEK0222_EPSSGB(raw numeric)
2137RETURNS numeric AS $$
2138    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2139        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2140        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2141        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2142$$ LANGUAGE SQL IMMUTABLE;
2143CREATE OR REPLACE FUNCTION CAL_PPEK0511_EPSSGA(raw numeric)
2144RETURNS numeric AS $$
2145    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2146        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2147        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2148        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2149$$ LANGUAGE SQL IMMUTABLE;
2150CREATE OR REPLACE FUNCTION CAL_PPEK0511_EPSSGB(raw numeric)
2151RETURNS numeric AS $$
2152    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2153        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2154        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2155        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2156$$ LANGUAGE SQL IMMUTABLE;
2157CREATE OR REPLACE FUNCTION CAL_PPEK0155_EPSSGA(raw numeric)
2158RETURNS numeric AS $$
2159    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2160        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2161        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2162        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2163$$ LANGUAGE SQL IMMUTABLE;
2164CREATE OR REPLACE FUNCTION CAL_PPEK0155_EPSSGB(raw numeric)
2165RETURNS numeric AS $$
2166    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2167        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2168        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2169        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2170$$ LANGUAGE SQL IMMUTABLE;
2171CREATE OR REPLACE FUNCTION CAL_XXKP0647_EPSSGA(raw numeric)
2172RETURNS numeric AS $$
2173    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2174        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2175        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2176        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2177$$ LANGUAGE SQL IMMUTABLE;
2178CREATE OR REPLACE FUNCTION CAL_XXKP0647_EPSSGB(raw numeric)
2179RETURNS numeric AS $$
2180    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2181        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2182        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2183        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2184$$ LANGUAGE SQL IMMUTABLE;
2185CREATE OR REPLACE FUNCTION CAL_BHKE0013_EPSSGA(raw numeric)
2186RETURNS numeric AS $$
2187    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2188        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2189        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2190        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2191$$ LANGUAGE SQL IMMUTABLE;
2192CREATE OR REPLACE FUNCTION CAL_BHKE0013_EPSSGB(raw numeric)
2193RETURNS numeric AS $$
2194    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2195        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2196        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2197        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2198$$ LANGUAGE SQL IMMUTABLE;
2199CREATE OR REPLACE FUNCTION CAL_BHKE0008_EPSSGA(raw numeric)
2200RETURNS numeric AS $$
2201    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2202        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2203        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2204        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2205$$ LANGUAGE SQL IMMUTABLE;
2206CREATE OR REPLACE FUNCTION CAL_BHKE0008_EPSSGB(raw numeric)
2207RETURNS numeric AS $$
2208    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2209        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2210        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2211        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2212$$ LANGUAGE SQL IMMUTABLE;
2213CREATE OR REPLACE FUNCTION CAL_PPEK0202_EPSSGA(raw numeric)
2214RETURNS numeric AS $$
2215    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2216        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2217        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2218        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2219$$ LANGUAGE SQL IMMUTABLE;
2220CREATE OR REPLACE FUNCTION CAL_PPEK0202_EPSSGB(raw numeric)
2221RETURNS numeric AS $$
2222    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2223        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2224        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2225        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2226$$ LANGUAGE SQL IMMUTABLE;
2227CREATE OR REPLACE FUNCTION CAL_XXKP0670_EPSSGA(raw numeric)
2228RETURNS numeric AS $$
2229    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2230        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2231        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2232        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2233$$ LANGUAGE SQL IMMUTABLE;
2234CREATE OR REPLACE FUNCTION CAL_XXKP0670_EPSSGB(raw numeric)
2235RETURNS numeric AS $$
2236    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2237        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2238        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2239        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2240$$ LANGUAGE SQL IMMUTABLE;
2241CREATE OR REPLACE FUNCTION CAL_RUEK8040_EPSSGA(raw numeric)
2242RETURNS numeric AS $$
2243    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2244        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2245        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2246        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2247$$ LANGUAGE SQL IMMUTABLE;
2248CREATE OR REPLACE FUNCTION CAL_RUEK8040_EPSSGB(raw numeric)
2249RETURNS numeric AS $$
2250    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2251        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2252        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2253        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2254$$ LANGUAGE SQL IMMUTABLE;
2255CREATE OR REPLACE FUNCTION CAL_XXKP0444_EPSSGA(raw numeric)
2256RETURNS numeric AS $$
2257    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2258        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2259        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2260        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2261$$ LANGUAGE SQL IMMUTABLE;
2262CREATE OR REPLACE FUNCTION CAL_XXKP0444_EPSSGB(raw numeric)
2263RETURNS numeric AS $$
2264    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2265        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2266        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2267        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2268$$ LANGUAGE SQL IMMUTABLE;
2269CREATE OR REPLACE FUNCTION CAL_PPEK0232_EPSSGA(raw numeric)
2270RETURNS numeric AS $$
2271    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2272        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2273        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2274        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2275$$ LANGUAGE SQL IMMUTABLE;
2276CREATE OR REPLACE FUNCTION CAL_PPEK0232_EPSSGB(raw numeric)
2277RETURNS numeric AS $$
2278    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2279        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2280        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2281        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2282$$ LANGUAGE SQL IMMUTABLE;
2283CREATE OR REPLACE FUNCTION CAL_RUEK8003_EPSSGA(raw numeric)
2284RETURNS numeric AS $$
2285    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2286        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2287        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2288        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2289$$ LANGUAGE SQL IMMUTABLE;
2290CREATE OR REPLACE FUNCTION CAL_RUEK8003_EPSSGB(raw numeric)
2291RETURNS numeric AS $$
2292    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2293        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2294        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2295        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2296$$ LANGUAGE SQL IMMUTABLE;
2297CREATE OR REPLACE FUNCTION CAL_XXKP0416_EPSSGA(raw numeric)
2298RETURNS numeric AS $$
2299    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2300        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2301        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2302        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2303$$ LANGUAGE SQL IMMUTABLE;
2304CREATE OR REPLACE FUNCTION CAL_XXKP0416_EPSSGB(raw numeric)
2305RETURNS numeric AS $$
2306    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2307        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2308        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2309        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2310$$ LANGUAGE SQL IMMUTABLE;
2311CREATE OR REPLACE FUNCTION CAL_XXKP0419_EPSSGA(raw numeric)
2312RETURNS numeric AS $$
2313    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2314        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2315        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2316        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2317$$ LANGUAGE SQL IMMUTABLE;
2318CREATE OR REPLACE FUNCTION CAL_XXKP0419_EPSSGB(raw numeric)
2319RETURNS numeric AS $$
2320    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2321        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2322        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2323        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2324$$ LANGUAGE SQL IMMUTABLE;
2325CREATE OR REPLACE FUNCTION CAL_RUEK8051_EPSSGA(raw numeric)
2326RETURNS numeric AS $$
2327    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2328        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2329        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2330        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2331$$ LANGUAGE SQL IMMUTABLE;
2332CREATE OR REPLACE FUNCTION CAL_RUEK8051_EPSSGB(raw numeric)
2333RETURNS numeric AS $$
2334    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2335        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2336        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2337        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2338$$ LANGUAGE SQL IMMUTABLE;
2339CREATE OR REPLACE FUNCTION CAL_BHKP0026_EPSSGA(raw numeric)
2340RETURNS numeric AS $$
2341    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2342        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2343        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2344        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2345$$ LANGUAGE SQL IMMUTABLE;
2346CREATE OR REPLACE FUNCTION CAL_BHKP0026_EPSSGB(raw numeric)
2347RETURNS numeric AS $$
2348    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2349        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2350        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2351        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2352$$ LANGUAGE SQL IMMUTABLE;
2353CREATE OR REPLACE FUNCTION CAL_IUKE0011_EPSSGA(raw numeric)
2354RETURNS numeric AS $$
2355    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2356        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2357        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2358        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2359$$ LANGUAGE SQL IMMUTABLE;
2360CREATE OR REPLACE FUNCTION CAL_IUKE0011_EPSSGB(raw numeric)
2361RETURNS numeric AS $$
2362    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2363        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2364        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2365        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2366$$ LANGUAGE SQL IMMUTABLE;
2367CREATE OR REPLACE FUNCTION CAL_XXKP0574_EPSSGA(raw numeric)
2368RETURNS numeric AS $$
2369    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2370        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2371        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2372        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2373$$ LANGUAGE SQL IMMUTABLE;
2374CREATE OR REPLACE FUNCTION CAL_XXKP0574_EPSSGB(raw numeric)
2375RETURNS numeric AS $$
2376    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2377        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2378        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2379        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2380$$ LANGUAGE SQL IMMUTABLE;
2381CREATE OR REPLACE FUNCTION CAL_BHKE0018_EPSSGA(raw numeric)
2382RETURNS numeric AS $$
2383    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2384        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2385        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2386        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2387$$ LANGUAGE SQL IMMUTABLE;
2388CREATE OR REPLACE FUNCTION CAL_BHKE0018_EPSSGB(raw numeric)
2389RETURNS numeric AS $$
2390    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2391        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2392        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2393        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2394$$ LANGUAGE SQL IMMUTABLE;
2395CREATE OR REPLACE FUNCTION CAL_RUEK8044_EPSSGA(raw numeric)
2396RETURNS numeric AS $$
2397    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2398        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2399        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2400        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2401$$ LANGUAGE SQL IMMUTABLE;
2402CREATE OR REPLACE FUNCTION CAL_RUEK8044_EPSSGB(raw numeric)
2403RETURNS numeric AS $$
2404    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2405        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2406        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2407        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2408$$ LANGUAGE SQL IMMUTABLE;
2409CREATE OR REPLACE FUNCTION CAL_CYKP0000_EPSSGA(raw numeric)
2410RETURNS numeric AS $$
2411    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2412        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2413        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2414        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2415$$ LANGUAGE SQL IMMUTABLE;
2416CREATE OR REPLACE FUNCTION CAL_CYKP0000_EPSSGB(raw numeric)
2417RETURNS numeric AS $$
2418    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2419        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2420        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2421        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2422$$ LANGUAGE SQL IMMUTABLE;
2423CREATE OR REPLACE FUNCTION CAL_PPEK0648_EPSSGA(raw numeric)
2424RETURNS numeric AS $$
2425    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2426        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2427        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2428        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2429$$ LANGUAGE SQL IMMUTABLE;
2430CREATE OR REPLACE FUNCTION CAL_PPEK0648_EPSSGB(raw numeric)
2431RETURNS numeric AS $$
2432    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2433        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2434        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2435        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2436$$ LANGUAGE SQL IMMUTABLE;
2437CREATE OR REPLACE FUNCTION CAL_XXKP0388_EPSSGA(raw numeric)
2438RETURNS numeric AS $$
2439    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2440        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2441        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2442        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2443$$ LANGUAGE SQL IMMUTABLE;
2444CREATE OR REPLACE FUNCTION CAL_XXKP0388_EPSSGB(raw numeric)
2445RETURNS numeric AS $$
2446    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2447        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2448        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2449        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2450$$ LANGUAGE SQL IMMUTABLE;
2451CREATE OR REPLACE FUNCTION CAL_XXKP0653_EPSSGA(raw numeric)
2452RETURNS numeric AS $$
2453    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2454        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2455        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2456        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2457$$ LANGUAGE SQL IMMUTABLE;
2458CREATE OR REPLACE FUNCTION CAL_XXKP0653_EPSSGB(raw numeric)
2459RETURNS numeric AS $$
2460    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2461        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2462        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2463        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2464$$ LANGUAGE SQL IMMUTABLE;
2465CREATE OR REPLACE FUNCTION CAL_IUKE0009_EPSSGA(raw numeric)
2466RETURNS numeric AS $$
2467    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2468        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2469        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2470        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2471$$ LANGUAGE SQL IMMUTABLE;
2472CREATE OR REPLACE FUNCTION CAL_IUKE0009_EPSSGB(raw numeric)
2473RETURNS numeric AS $$
2474    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2475        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2476        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2477        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2478$$ LANGUAGE SQL IMMUTABLE;
2479CREATE OR REPLACE FUNCTION CAL_XXKP0547_EPSSGA(raw numeric)
2480RETURNS numeric AS $$
2481    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2482        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2483        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2484        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2485$$ LANGUAGE SQL IMMUTABLE;
2486CREATE OR REPLACE FUNCTION CAL_XXKP0547_EPSSGB(raw numeric)
2487RETURNS numeric AS $$
2488    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2489        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2490        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2491        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2492$$ LANGUAGE SQL IMMUTABLE;
2493CREATE OR REPLACE FUNCTION CAL_RUEK8030_EPSSGA(raw numeric)
2494RETURNS numeric AS $$
2495    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2496        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2497        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2498        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2499$$ LANGUAGE SQL IMMUTABLE;
2500CREATE OR REPLACE FUNCTION CAL_RUEK8030_EPSSGB(raw numeric)
2501RETURNS numeric AS $$
2502    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2503        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2504        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2505        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2506$$ LANGUAGE SQL IMMUTABLE;
2507CREATE OR REPLACE FUNCTION CAL_XXKP0449_EPSSGA(raw numeric)
2508RETURNS numeric AS $$
2509    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2510        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2511        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2512        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2513$$ LANGUAGE SQL IMMUTABLE;
2514CREATE OR REPLACE FUNCTION CAL_XXKP0449_EPSSGB(raw numeric)
2515RETURNS numeric AS $$
2516    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2517        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2518        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2519        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2520$$ LANGUAGE SQL IMMUTABLE;
2521CREATE OR REPLACE FUNCTION CAL_RKEK0024_EPSSGA(raw numeric)
2522RETURNS numeric AS $$
2523    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2524        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2525        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2526        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2527$$ LANGUAGE SQL IMMUTABLE;
2528CREATE OR REPLACE FUNCTION CAL_RKEK0024_EPSSGB(raw numeric)
2529RETURNS numeric AS $$
2530    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2531        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2532        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2533        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2534$$ LANGUAGE SQL IMMUTABLE;
2535CREATE OR REPLACE FUNCTION CAL_XXKP0590_EPSSGA(raw numeric)
2536RETURNS numeric AS $$
2537    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2538        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2539        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2540        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2541$$ LANGUAGE SQL IMMUTABLE;
2542CREATE OR REPLACE FUNCTION CAL_XXKP0590_EPSSGB(raw numeric)
2543RETURNS numeric AS $$
2544    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2545        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2546        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2547        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2548$$ LANGUAGE SQL IMMUTABLE;
2549CREATE OR REPLACE FUNCTION CAL_BHKE0021_EPSSGA(raw numeric)
2550RETURNS numeric AS $$
2551    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2552        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2553        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2554        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2555$$ LANGUAGE SQL IMMUTABLE;
2556CREATE OR REPLACE FUNCTION CAL_BHKE0021_EPSSGB(raw numeric)
2557RETURNS numeric AS $$
2558    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2559        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2560        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2561        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2562$$ LANGUAGE SQL IMMUTABLE;
2563CREATE OR REPLACE FUNCTION CAL_NAKP8508_EPSSGA(raw numeric)
2564RETURNS numeric AS $$
2565    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2566        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2567        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2568        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2569$$ LANGUAGE SQL IMMUTABLE;
2570CREATE OR REPLACE FUNCTION CAL_NAKP8508_EPSSGB(raw numeric)
2571RETURNS numeric AS $$
2572    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2573        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2574        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2575        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2576$$ LANGUAGE SQL IMMUTABLE;
2577CREATE OR REPLACE FUNCTION CAL_PPEK0226_EPSSGA(raw numeric)
2578RETURNS numeric AS $$
2579    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2580        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2581        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2582        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2583$$ LANGUAGE SQL IMMUTABLE;
2584CREATE OR REPLACE FUNCTION CAL_PPEK0226_EPSSGB(raw numeric)
2585RETURNS numeric AS $$
2586    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2587        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2588        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2589        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2590$$ LANGUAGE SQL IMMUTABLE;
2591CREATE OR REPLACE FUNCTION CAL_PPEK0132_EPSSGA(raw numeric)
2592RETURNS numeric AS $$
2593    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2594        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2595        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2596        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2597$$ LANGUAGE SQL IMMUTABLE;
2598CREATE OR REPLACE FUNCTION CAL_PPEK0132_EPSSGB(raw numeric)
2599RETURNS numeric AS $$
2600    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2601        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2602        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2603        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2604$$ LANGUAGE SQL IMMUTABLE;
2605CREATE OR REPLACE FUNCTION CAL_PPEK0512_EPSSGA(raw numeric)
2606RETURNS numeric AS $$
2607    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2608        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2609        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2610        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2611$$ LANGUAGE SQL IMMUTABLE;
2612CREATE OR REPLACE FUNCTION CAL_PPEK0512_EPSSGB(raw numeric)
2613RETURNS numeric AS $$
2614    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2615        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2616        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2617        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2618$$ LANGUAGE SQL IMMUTABLE;
2619CREATE OR REPLACE FUNCTION CAL_PPEK0403_EPSSGA(raw numeric)
2620RETURNS numeric AS $$
2621    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2622        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2623        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2624        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2625$$ LANGUAGE SQL IMMUTABLE;
2626CREATE OR REPLACE FUNCTION CAL_PPEK0403_EPSSGB(raw numeric)
2627RETURNS numeric AS $$
2628    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2629        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2630        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2631        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2632$$ LANGUAGE SQL IMMUTABLE;
2633CREATE OR REPLACE FUNCTION CAL_WSK00001_EPSSGA(raw numeric)
2634RETURNS numeric AS $$
2635    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2636        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2637        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2638        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2639$$ LANGUAGE SQL IMMUTABLE;
2640CREATE OR REPLACE FUNCTION CAL_WSK00001_EPSSGB(raw numeric)
2641RETURNS numeric AS $$
2642    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2643        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2644        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2645        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2646$$ LANGUAGE SQL IMMUTABLE;
2647CREATE OR REPLACE FUNCTION CAL_XXKP0467_EPSSGA(raw numeric)
2648RETURNS numeric AS $$
2649    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2650        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2651        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2652        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2653$$ LANGUAGE SQL IMMUTABLE;
2654CREATE OR REPLACE FUNCTION CAL_XXKP0467_EPSSGB(raw numeric)
2655RETURNS numeric AS $$
2656    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2657        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2658        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2659        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2660$$ LANGUAGE SQL IMMUTABLE;
2661CREATE OR REPLACE FUNCTION CAL_BHKE0042_EPSSGA(raw numeric)
2662RETURNS numeric AS $$
2663    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2664        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2665        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2666        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2667$$ LANGUAGE SQL IMMUTABLE;
2668CREATE OR REPLACE FUNCTION CAL_BHKE0042_EPSSGB(raw numeric)
2669RETURNS numeric AS $$
2670    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2671        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2672        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2673        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2674$$ LANGUAGE SQL IMMUTABLE;
2675CREATE OR REPLACE FUNCTION CAL_NAKP8512_EPSSGA(raw numeric)
2676RETURNS numeric AS $$
2677    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2678        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2679        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2680        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2681$$ LANGUAGE SQL IMMUTABLE;
2682CREATE OR REPLACE FUNCTION CAL_NAKP8512_EPSSGB(raw numeric)
2683RETURNS numeric AS $$
2684    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2685        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2686        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2687        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2688$$ LANGUAGE SQL IMMUTABLE;
2689CREATE OR REPLACE FUNCTION CAL_PPEK0601_EPSSGA(raw numeric)
2690RETURNS numeric AS $$
2691    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2692        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2693        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2694        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2695$$ LANGUAGE SQL IMMUTABLE;
2696CREATE OR REPLACE FUNCTION CAL_PPEK0601_EPSSGB(raw numeric)
2697RETURNS numeric AS $$
2698    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2699        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2700        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2701        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2702$$ LANGUAGE SQL IMMUTABLE;
2703CREATE OR REPLACE FUNCTION CAL_PPEK0669_EPSSGA(raw numeric)
2704RETURNS numeric AS $$
2705    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2706        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2707        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2708        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2709$$ LANGUAGE SQL IMMUTABLE;
2710CREATE OR REPLACE FUNCTION CAL_PPEK0669_EPSSGB(raw numeric)
2711RETURNS numeric AS $$
2712    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2713        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2714        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2715        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2716$$ LANGUAGE SQL IMMUTABLE;
2717CREATE OR REPLACE FUNCTION CAL_IUKE0013_EPSSGA(raw numeric)
2718RETURNS numeric AS $$
2719    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2720        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2721        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2722        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2723$$ LANGUAGE SQL IMMUTABLE;
2724CREATE OR REPLACE FUNCTION CAL_IUKE0013_EPSSGB(raw numeric)
2725RETURNS numeric AS $$
2726    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2727        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2728        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2729        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2730$$ LANGUAGE SQL IMMUTABLE;
2731CREATE OR REPLACE FUNCTION CAL_PPEK0522_EPSSGA(raw numeric)
2732RETURNS numeric AS $$
2733    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2734        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2735        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2736        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2737$$ LANGUAGE SQL IMMUTABLE;
2738CREATE OR REPLACE FUNCTION CAL_PPEK0522_EPSSGB(raw numeric)
2739RETURNS numeric AS $$
2740    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2741        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2742        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2743        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2744$$ LANGUAGE SQL IMMUTABLE;
2745CREATE OR REPLACE FUNCTION CAL_BHKE0047_EPSSGA(raw numeric)
2746RETURNS numeric AS $$
2747    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2748        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2749        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2750        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2751$$ LANGUAGE SQL IMMUTABLE;
2752CREATE OR REPLACE FUNCTION CAL_BHKE0047_EPSSGB(raw numeric)
2753RETURNS numeric AS $$
2754    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2755        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2756        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2757        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2758$$ LANGUAGE SQL IMMUTABLE;
2759CREATE OR REPLACE FUNCTION CAL_RUEK8065_EPSSGA(raw numeric)
2760RETURNS numeric AS $$
2761    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2762        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2763        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2764        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2765$$ LANGUAGE SQL IMMUTABLE;
2766CREATE OR REPLACE FUNCTION CAL_RUEK8065_EPSSGB(raw numeric)
2767RETURNS numeric AS $$
2768    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2769        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2770        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2771        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2772$$ LANGUAGE SQL IMMUTABLE;
2773CREATE OR REPLACE FUNCTION CAL_XXKP0621_EPSSGA(raw numeric)
2774RETURNS numeric AS $$
2775    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2776        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2777        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2778        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2779$$ LANGUAGE SQL IMMUTABLE;
2780CREATE OR REPLACE FUNCTION CAL_XXKP0621_EPSSGB(raw numeric)
2781RETURNS numeric AS $$
2782    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2783        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2784        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2785        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2786$$ LANGUAGE SQL IMMUTABLE;
2787CREATE OR REPLACE FUNCTION CAL_PFEKP004_EPSSGA(raw numeric)
2788RETURNS numeric AS $$
2789    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2790        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2791        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2792        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2793$$ LANGUAGE SQL IMMUTABLE;
2794CREATE OR REPLACE FUNCTION CAL_PFEKP004_EPSSGB(raw numeric)
2795RETURNS numeric AS $$
2796    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2797        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2798        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2799        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2800$$ LANGUAGE SQL IMMUTABLE;
2801CREATE OR REPLACE FUNCTION CAL_XXKP0622_EPSSGA(raw numeric)
2802RETURNS numeric AS $$
2803    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2804        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2805        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2806        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2807$$ LANGUAGE SQL IMMUTABLE;
2808CREATE OR REPLACE FUNCTION CAL_XXKP0622_EPSSGB(raw numeric)
2809RETURNS numeric AS $$
2810    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2811        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2812        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2813        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2814$$ LANGUAGE SQL IMMUTABLE;
2815CREATE OR REPLACE FUNCTION CAL_XXKP0614_EPSSGA(raw numeric)
2816RETURNS numeric AS $$
2817    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2818        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2819        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2820        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2821$$ LANGUAGE SQL IMMUTABLE;
2822CREATE OR REPLACE FUNCTION CAL_XXKP0614_EPSSGB(raw numeric)
2823RETURNS numeric AS $$
2824    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2825        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2826        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2827        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2828$$ LANGUAGE SQL IMMUTABLE;
2829CREATE OR REPLACE FUNCTION CAL_RUEK8010_EPSSGA(raw numeric)
2830RETURNS numeric AS $$
2831    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2832        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2833        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2834        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2835$$ LANGUAGE SQL IMMUTABLE;
2836CREATE OR REPLACE FUNCTION CAL_RUEK8010_EPSSGB(raw numeric)
2837RETURNS numeric AS $$
2838    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2839        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2840        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2841        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2842$$ LANGUAGE SQL IMMUTABLE;
2843CREATE OR REPLACE FUNCTION CAL_RUEK9001_EPSSGA(raw numeric)
2844RETURNS numeric AS $$
2845    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2846        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2847        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2848        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2849$$ LANGUAGE SQL IMMUTABLE;
2850CREATE OR REPLACE FUNCTION CAL_RUEK9001_EPSSGB(raw numeric)
2851RETURNS numeric AS $$
2852    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2853        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2854        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2855        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2856$$ LANGUAGE SQL IMMUTABLE;
2857CREATE OR REPLACE FUNCTION CAL_RUEK8063_EPSSGA(raw numeric)
2858RETURNS numeric AS $$
2859    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2860        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2861        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2862        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2863$$ LANGUAGE SQL IMMUTABLE;
2864CREATE OR REPLACE FUNCTION CAL_RUEK8063_EPSSGB(raw numeric)
2865RETURNS numeric AS $$
2866    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2867        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2868        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2869        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2870$$ LANGUAGE SQL IMMUTABLE;
2871CREATE OR REPLACE FUNCTION CAL_PPEK0536_EPSSGA(raw numeric)
2872RETURNS numeric AS $$
2873    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2874        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2875        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2876        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2877$$ LANGUAGE SQL IMMUTABLE;
2878CREATE OR REPLACE FUNCTION CAL_PPEK0536_EPSSGB(raw numeric)
2879RETURNS numeric AS $$
2880    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2881        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2882        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2883        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2884$$ LANGUAGE SQL IMMUTABLE;
2885CREATE OR REPLACE FUNCTION CAL_PPEK0212_EPSSGA(raw numeric)
2886RETURNS numeric AS $$
2887    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2888        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2889        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2890        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2891$$ LANGUAGE SQL IMMUTABLE;
2892CREATE OR REPLACE FUNCTION CAL_PPEK0212_EPSSGB(raw numeric)
2893RETURNS numeric AS $$
2894    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2895        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2896        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2897        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2898$$ LANGUAGE SQL IMMUTABLE;
2899CREATE OR REPLACE FUNCTION CAL_XXKP5001_EPSSGA(raw numeric)
2900RETURNS numeric AS $$
2901    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2902        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2903        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2904        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2905$$ LANGUAGE SQL IMMUTABLE;
2906CREATE OR REPLACE FUNCTION CAL_XXKP5001_EPSSGB(raw numeric)
2907RETURNS numeric AS $$
2908    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2909        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2910        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2911        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2912$$ LANGUAGE SQL IMMUTABLE;
2913CREATE OR REPLACE FUNCTION CAL_BHKE0039_EPSSGA(raw numeric)
2914RETURNS numeric AS $$
2915    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2916        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2917        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2918        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2919$$ LANGUAGE SQL IMMUTABLE;
2920CREATE OR REPLACE FUNCTION CAL_BHKE0039_EPSSGB(raw numeric)
2921RETURNS numeric AS $$
2922    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2923        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2924        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2925        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2926$$ LANGUAGE SQL IMMUTABLE;
2927CREATE OR REPLACE FUNCTION CAL_XXKP0551_EPSSGA(raw numeric)
2928RETURNS numeric AS $$
2929    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2930        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2931        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2932        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2933$$ LANGUAGE SQL IMMUTABLE;
2934CREATE OR REPLACE FUNCTION CAL_XXKP0551_EPSSGB(raw numeric)
2935RETURNS numeric AS $$
2936    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2937        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2938        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2939        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2940$$ LANGUAGE SQL IMMUTABLE;
2941CREATE OR REPLACE FUNCTION CAL_XXKP0537_EPSSGA(raw numeric)
2942RETURNS numeric AS $$
2943    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2944        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2945        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2946        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2947$$ LANGUAGE SQL IMMUTABLE;
2948CREATE OR REPLACE FUNCTION CAL_XXKP0537_EPSSGB(raw numeric)
2949RETURNS numeric AS $$
2950    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2951        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2952        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2953        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2954$$ LANGUAGE SQL IMMUTABLE;
2955CREATE OR REPLACE FUNCTION CAL_XXKP0608_EPSSGA(raw numeric)
2956RETURNS numeric AS $$
2957    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2958        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2959        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2960        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2961$$ LANGUAGE SQL IMMUTABLE;
2962CREATE OR REPLACE FUNCTION CAL_XXKP0608_EPSSGB(raw numeric)
2963RETURNS numeric AS $$
2964    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2965        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2966        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2967        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2968$$ LANGUAGE SQL IMMUTABLE;
2969CREATE OR REPLACE FUNCTION CAL_NAKP8513_EPSSGA(raw numeric)
2970RETURNS numeric AS $$
2971    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2972        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2973        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2974        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2975$$ LANGUAGE SQL IMMUTABLE;
2976CREATE OR REPLACE FUNCTION CAL_NAKP8513_EPSSGB(raw numeric)
2977RETURNS numeric AS $$
2978    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2979        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2980        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2981        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2982$$ LANGUAGE SQL IMMUTABLE;
2983CREATE OR REPLACE FUNCTION CAL_NAKP802E_EPSSGA(raw numeric)
2984RETURNS numeric AS $$
2985    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2986        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2987        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2988        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2989$$ LANGUAGE SQL IMMUTABLE;
2990CREATE OR REPLACE FUNCTION CAL_NAKP802E_EPSSGB(raw numeric)
2991RETURNS numeric AS $$
2992    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
2993        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
2994        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
2995        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
2996$$ LANGUAGE SQL IMMUTABLE;
2997CREATE OR REPLACE FUNCTION CAL_XXKP0418_EPSSGA(raw numeric)
2998RETURNS numeric AS $$
2999    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3000        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3001        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3002        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3003$$ LANGUAGE SQL IMMUTABLE;
3004CREATE OR REPLACE FUNCTION CAL_XXKP0418_EPSSGB(raw numeric)
3005RETURNS numeric AS $$
3006    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3007        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3008        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3009        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3010$$ LANGUAGE SQL IMMUTABLE;
3011CREATE OR REPLACE FUNCTION CAL_BHKE0020_EPSSGA(raw numeric)
3012RETURNS numeric AS $$
3013    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3014        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3015        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3016        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3017$$ LANGUAGE SQL IMMUTABLE;
3018CREATE OR REPLACE FUNCTION CAL_BHKE0020_EPSSGB(raw numeric)
3019RETURNS numeric AS $$
3020    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3021        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3022        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3023        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3024$$ LANGUAGE SQL IMMUTABLE;
3025CREATE OR REPLACE FUNCTION CAL_RUEK9003_EPSSGA(raw numeric)
3026RETURNS numeric AS $$
3027    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3028        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3029        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3030        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3031$$ LANGUAGE SQL IMMUTABLE;
3032CREATE OR REPLACE FUNCTION CAL_RUEK9003_EPSSGB(raw numeric)
3033RETURNS numeric AS $$
3034    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3035        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3036        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3037        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3038$$ LANGUAGE SQL IMMUTABLE;
3039CREATE OR REPLACE FUNCTION CAL_XXKP0477_EPSSGA(raw numeric)
3040RETURNS numeric AS $$
3041    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3042        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3043        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3044        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3045$$ LANGUAGE SQL IMMUTABLE;
3046CREATE OR REPLACE FUNCTION CAL_XXKP0477_EPSSGB(raw numeric)
3047RETURNS numeric AS $$
3048    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3049        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3050        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3051        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3052$$ LANGUAGE SQL IMMUTABLE;
3053CREATE OR REPLACE FUNCTION CAL_RUEK9013_EPSSGA(raw numeric)
3054RETURNS numeric AS $$
3055    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3056        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3057        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3058        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3059$$ LANGUAGE SQL IMMUTABLE;
3060CREATE OR REPLACE FUNCTION CAL_RUEK9013_EPSSGB(raw numeric)
3061RETURNS numeric AS $$
3062    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3063        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3064        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3065        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3066$$ LANGUAGE SQL IMMUTABLE;
3067CREATE OR REPLACE FUNCTION CAL_PPEK0400_EPSSGA(raw numeric)
3068RETURNS numeric AS $$
3069    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3070        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3071        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3072        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3073$$ LANGUAGE SQL IMMUTABLE;
3074CREATE OR REPLACE FUNCTION CAL_PPEK0400_EPSSGB(raw numeric)
3075RETURNS numeric AS $$
3076    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3077        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3078        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3079        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3080$$ LANGUAGE SQL IMMUTABLE;
3081CREATE OR REPLACE FUNCTION CAL_XXKP0642_EPSSGA(raw numeric)
3082RETURNS numeric AS $$
3083    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3084        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3085        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3086        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3087$$ LANGUAGE SQL IMMUTABLE;
3088CREATE OR REPLACE FUNCTION CAL_XXKP0642_EPSSGB(raw numeric)
3089RETURNS numeric AS $$
3090    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3091        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3092        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3093        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3094$$ LANGUAGE SQL IMMUTABLE;
3095CREATE OR REPLACE FUNCTION CAL_PPEK0192_EPSSGA(raw numeric)
3096RETURNS numeric AS $$
3097    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3098        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3099        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3100        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3101$$ LANGUAGE SQL IMMUTABLE;
3102CREATE OR REPLACE FUNCTION CAL_PPEK0192_EPSSGB(raw numeric)
3103RETURNS numeric AS $$
3104    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3105        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3106        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3107        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3108$$ LANGUAGE SQL IMMUTABLE;
3109CREATE OR REPLACE FUNCTION CAL_YYKP0010_EPSSGA(raw numeric)
3110RETURNS numeric AS $$
3111    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3112        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3113        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3114        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3115$$ LANGUAGE SQL IMMUTABLE;
3116CREATE OR REPLACE FUNCTION CAL_YYKP0010_EPSSGB(raw numeric)
3117RETURNS numeric AS $$
3118    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3119        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3120        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3121        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3122$$ LANGUAGE SQL IMMUTABLE;
3123CREATE OR REPLACE FUNCTION CAL_PPEK0166_EPSSGA(raw numeric)
3124RETURNS numeric AS $$
3125    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3126        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3127        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3128        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3129$$ LANGUAGE SQL IMMUTABLE;
3130CREATE OR REPLACE FUNCTION CAL_PPEK0166_EPSSGB(raw numeric)
3131RETURNS numeric AS $$
3132    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3133        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3134        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3135        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3136$$ LANGUAGE SQL IMMUTABLE;
3137CREATE OR REPLACE FUNCTION CAL_IUKE0002_EPSSGA(raw numeric)
3138RETURNS numeric AS $$
3139    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3140        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3141        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3142        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3143$$ LANGUAGE SQL IMMUTABLE;
3144CREATE OR REPLACE FUNCTION CAL_IUKE0002_EPSSGB(raw numeric)
3145RETURNS numeric AS $$
3146    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3147        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3148        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3149        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3150$$ LANGUAGE SQL IMMUTABLE;
3151CREATE OR REPLACE FUNCTION CAL_PPEK0220_EPSSGA(raw numeric)
3152RETURNS numeric AS $$
3153    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3154        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3155        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3156        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3157$$ LANGUAGE SQL IMMUTABLE;
3158CREATE OR REPLACE FUNCTION CAL_PPEK0220_EPSSGB(raw numeric)
3159RETURNS numeric AS $$
3160    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3161        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3162        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3163        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3164$$ LANGUAGE SQL IMMUTABLE;
3165CREATE OR REPLACE FUNCTION CAL_PPEK0135_EPSSGA(raw numeric)
3166RETURNS numeric AS $$
3167    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3168        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3169        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3170        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3171$$ LANGUAGE SQL IMMUTABLE;
3172CREATE OR REPLACE FUNCTION CAL_PPEK0135_EPSSGB(raw numeric)
3173RETURNS numeric AS $$
3174    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3175        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3176        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3177        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3178$$ LANGUAGE SQL IMMUTABLE;
3179CREATE OR REPLACE FUNCTION CAL_XXKP0596_EPSSGA(raw numeric)
3180RETURNS numeric AS $$
3181    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3182        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3183        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3184        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3185$$ LANGUAGE SQL IMMUTABLE;
3186CREATE OR REPLACE FUNCTION CAL_XXKP0596_EPSSGB(raw numeric)
3187RETURNS numeric AS $$
3188    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3189        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3190        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3191        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3192$$ LANGUAGE SQL IMMUTABLE;
3193CREATE OR REPLACE FUNCTION CAL_PPEK0663_EPSSGA(raw numeric)
3194RETURNS numeric AS $$
3195    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3196        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3197        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3198        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3199$$ LANGUAGE SQL IMMUTABLE;
3200CREATE OR REPLACE FUNCTION CAL_PPEK0663_EPSSGB(raw numeric)
3201RETURNS numeric AS $$
3202    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3203        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3204        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3205        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3206$$ LANGUAGE SQL IMMUTABLE;
3207CREATE OR REPLACE FUNCTION CAL_XXKP0385_EPSSGA(raw numeric)
3208RETURNS numeric AS $$
3209    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3210        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3211        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3212        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3213$$ LANGUAGE SQL IMMUTABLE;
3214CREATE OR REPLACE FUNCTION CAL_XXKP0385_EPSSGB(raw numeric)
3215RETURNS numeric AS $$
3216    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3217        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3218        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3219        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3220$$ LANGUAGE SQL IMMUTABLE;
3221CREATE OR REPLACE FUNCTION CAL_WCK00021_EPSSGA(raw numeric)
3222RETURNS numeric AS $$
3223    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3224        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3225        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3226        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3227$$ LANGUAGE SQL IMMUTABLE;
3228CREATE OR REPLACE FUNCTION CAL_WCK00021_EPSSGB(raw numeric)
3229RETURNS numeric AS $$
3230    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3231        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3232        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3233        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3234$$ LANGUAGE SQL IMMUTABLE;
3235CREATE OR REPLACE FUNCTION CAL_XXKP0412_EPSSGA(raw numeric)
3236RETURNS numeric AS $$
3237    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3238        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3239        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3240        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3241$$ LANGUAGE SQL IMMUTABLE;
3242CREATE OR REPLACE FUNCTION CAL_XXKP0412_EPSSGB(raw numeric)
3243RETURNS numeric AS $$
3244    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3245        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3246        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3247        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3248$$ LANGUAGE SQL IMMUTABLE;
3249CREATE OR REPLACE FUNCTION CAL_YYKP0013_EPSSGA(raw numeric)
3250RETURNS numeric AS $$
3251    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3252        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3253        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3254        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3255$$ LANGUAGE SQL IMMUTABLE;
3256CREATE OR REPLACE FUNCTION CAL_YYKP0013_EPSSGB(raw numeric)
3257RETURNS numeric AS $$
3258    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3259        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3260        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3261        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3262$$ LANGUAGE SQL IMMUTABLE;
3263CREATE OR REPLACE FUNCTION CAL_PPEK0174_EPSSGA(raw numeric)
3264RETURNS numeric AS $$
3265    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3266        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3267        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3268        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3269$$ LANGUAGE SQL IMMUTABLE;
3270CREATE OR REPLACE FUNCTION CAL_PPEK0174_EPSSGB(raw numeric)
3271RETURNS numeric AS $$
3272    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3273        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3274        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3275        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3276$$ LANGUAGE SQL IMMUTABLE;
3277CREATE OR REPLACE FUNCTION CAL_ILKP0003_EPSSGA(raw numeric)
3278RETURNS numeric AS $$
3279    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3280        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3281        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3282        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3283$$ LANGUAGE SQL IMMUTABLE;
3284CREATE OR REPLACE FUNCTION CAL_ILKP0003_EPSSGB(raw numeric)
3285RETURNS numeric AS $$
3286    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3287        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3288        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3289        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3290$$ LANGUAGE SQL IMMUTABLE;
3291CREATE OR REPLACE FUNCTION CAL_NAKP802A_EPSSGA(raw numeric)
3292RETURNS numeric AS $$
3293    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3294        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3295        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3296        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3297$$ LANGUAGE SQL IMMUTABLE;
3298CREATE OR REPLACE FUNCTION CAL_NAKP802A_EPSSGB(raw numeric)
3299RETURNS numeric AS $$
3300    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3301        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3302        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3303        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3304$$ LANGUAGE SQL IMMUTABLE;
3305CREATE OR REPLACE FUNCTION CAL_BHKE0048_EPSSGA(raw numeric)
3306RETURNS numeric AS $$
3307    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3308        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3309        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3310        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3311$$ LANGUAGE SQL IMMUTABLE;
3312CREATE OR REPLACE FUNCTION CAL_BHKE0048_EPSSGB(raw numeric)
3313RETURNS numeric AS $$
3314    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3315        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3316        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3317        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3318$$ LANGUAGE SQL IMMUTABLE;
3319CREATE OR REPLACE FUNCTION CAL_XXKP0454_EPSSGA(raw numeric)
3320RETURNS numeric AS $$
3321    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3322        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3323        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3324        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3325$$ LANGUAGE SQL IMMUTABLE;
3326CREATE OR REPLACE FUNCTION CAL_XXKP0454_EPSSGB(raw numeric)
3327RETURNS numeric AS $$
3328    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3329        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3330        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3331        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3332$$ LANGUAGE SQL IMMUTABLE;
3333CREATE OR REPLACE FUNCTION CAL_RUEK8045_EPSSGA(raw numeric)
3334RETURNS numeric AS $$
3335    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3336        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3337        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3338        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3339$$ LANGUAGE SQL IMMUTABLE;
3340CREATE OR REPLACE FUNCTION CAL_RUEK8045_EPSSGB(raw numeric)
3341RETURNS numeric AS $$
3342    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3343        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3344        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3345        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3346$$ LANGUAGE SQL IMMUTABLE;
3347CREATE OR REPLACE FUNCTION CAL_SEEK0015_EPSSGA(raw numeric)
3348RETURNS numeric AS $$
3349    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3350        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3351        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3352        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3353$$ LANGUAGE SQL IMMUTABLE;
3354CREATE OR REPLACE FUNCTION CAL_SEEK0015_EPSSGB(raw numeric)
3355RETURNS numeric AS $$
3356    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3357        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3358        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3359        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3360$$ LANGUAGE SQL IMMUTABLE;
3361CREATE OR REPLACE FUNCTION CAL_PPEK0179_EPSSGA(raw numeric)
3362RETURNS numeric AS $$
3363    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3364        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3365        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3366        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3367$$ LANGUAGE SQL IMMUTABLE;
3368CREATE OR REPLACE FUNCTION CAL_PPEK0179_EPSSGB(raw numeric)
3369RETURNS numeric AS $$
3370    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3371        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3372        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3373        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3374$$ LANGUAGE SQL IMMUTABLE;
3375CREATE OR REPLACE FUNCTION CAL_RUEK8071_EPSSGA(raw numeric)
3376RETURNS numeric AS $$
3377    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3378        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3379        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3380        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3381$$ LANGUAGE SQL IMMUTABLE;
3382CREATE OR REPLACE FUNCTION CAL_RUEK8071_EPSSGB(raw numeric)
3383RETURNS numeric AS $$
3384    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3385        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3386        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3387        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3388$$ LANGUAGE SQL IMMUTABLE;
3389CREATE OR REPLACE FUNCTION CAL_WCK00023_EPSSGA(raw numeric)
3390RETURNS numeric AS $$
3391    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3392        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3393        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3394        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3395$$ LANGUAGE SQL IMMUTABLE;
3396CREATE OR REPLACE FUNCTION CAL_WCK00023_EPSSGB(raw numeric)
3397RETURNS numeric AS $$
3398    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3399        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3400        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3401        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3402$$ LANGUAGE SQL IMMUTABLE;
3403CREATE OR REPLACE FUNCTION CAL_XXKP0564_EPSSGA(raw numeric)
3404RETURNS numeric AS $$
3405    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3406        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3407        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3408        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3409$$ LANGUAGE SQL IMMUTABLE;
3410CREATE OR REPLACE FUNCTION CAL_XXKP0564_EPSSGB(raw numeric)
3411RETURNS numeric AS $$
3412    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3413        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3414        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3415        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3416$$ LANGUAGE SQL IMMUTABLE;
3417CREATE OR REPLACE FUNCTION CAL_XXKP0513_EPSSGA(raw numeric)
3418RETURNS numeric AS $$
3419    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3420        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3421        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3422        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3423$$ LANGUAGE SQL IMMUTABLE;
3424CREATE OR REPLACE FUNCTION CAL_XXKP0513_EPSSGB(raw numeric)
3425RETURNS numeric AS $$
3426    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3427        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3428        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3429        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3430$$ LANGUAGE SQL IMMUTABLE;
3431CREATE OR REPLACE FUNCTION CAL_XXKP0543_EPSSGA(raw numeric)
3432RETURNS numeric AS $$
3433    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3434        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3435        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3436        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3437$$ LANGUAGE SQL IMMUTABLE;
3438CREATE OR REPLACE FUNCTION CAL_XXKP0543_EPSSGB(raw numeric)
3439RETURNS numeric AS $$
3440    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3441        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3442        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3443        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3444$$ LANGUAGE SQL IMMUTABLE;
3445CREATE OR REPLACE FUNCTION CAL_WCK00022_EPSSGA(raw numeric)
3446RETURNS numeric AS $$
3447    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3448        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3449        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3450        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3451$$ LANGUAGE SQL IMMUTABLE;
3452CREATE OR REPLACE FUNCTION CAL_WCK00022_EPSSGB(raw numeric)
3453RETURNS numeric AS $$
3454    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3455        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3456        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3457        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3458$$ LANGUAGE SQL IMMUTABLE;
3459CREATE OR REPLACE FUNCTION CAL_RKEP1001_EPSSGA(raw numeric)
3460RETURNS numeric AS $$
3461    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3462        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3463        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3464        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3465$$ LANGUAGE SQL IMMUTABLE;
3466CREATE OR REPLACE FUNCTION CAL_RKEP1001_EPSSGB(raw numeric)
3467RETURNS numeric AS $$
3468    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3469        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3470        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3471        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3472$$ LANGUAGE SQL IMMUTABLE;
3473CREATE OR REPLACE FUNCTION CAL_PPEK0162_EPSSGA(raw numeric)
3474RETURNS numeric AS $$
3475    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3476        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3477        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3478        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3479$$ LANGUAGE SQL IMMUTABLE;
3480CREATE OR REPLACE FUNCTION CAL_PPEK0162_EPSSGB(raw numeric)
3481RETURNS numeric AS $$
3482    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3483        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3484        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3485        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3486$$ LANGUAGE SQL IMMUTABLE;
3487CREATE OR REPLACE FUNCTION CAL_PPEK0196_EPSSGA(raw numeric)
3488RETURNS numeric AS $$
3489    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3490        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3491        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3492        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3493$$ LANGUAGE SQL IMMUTABLE;
3494CREATE OR REPLACE FUNCTION CAL_PPEK0196_EPSSGB(raw numeric)
3495RETURNS numeric AS $$
3496    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3497        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3498        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3499        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3500$$ LANGUAGE SQL IMMUTABLE;
3501CREATE OR REPLACE FUNCTION CAL_BHKE0004_EPSSGA(raw numeric)
3502RETURNS numeric AS $$
3503    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3504        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3505        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3506        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3507$$ LANGUAGE SQL IMMUTABLE;
3508CREATE OR REPLACE FUNCTION CAL_BHKE0004_EPSSGB(raw numeric)
3509RETURNS numeric AS $$
3510    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3511        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3512        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3513        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3514$$ LANGUAGE SQL IMMUTABLE;
3515CREATE OR REPLACE FUNCTION CAL_NAKP8507_EPSSGA(raw numeric)
3516RETURNS numeric AS $$
3517    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3518        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3519        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3520        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3521$$ LANGUAGE SQL IMMUTABLE;
3522CREATE OR REPLACE FUNCTION CAL_NAKP8507_EPSSGB(raw numeric)
3523RETURNS numeric AS $$
3524    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3525        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3526        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3527        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3528$$ LANGUAGE SQL IMMUTABLE;
3529CREATE OR REPLACE FUNCTION CAL_PPEK0159_EPSSGA(raw numeric)
3530RETURNS numeric AS $$
3531    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3532        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3533        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3534        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3535$$ LANGUAGE SQL IMMUTABLE;
3536CREATE OR REPLACE FUNCTION CAL_PPEK0159_EPSSGB(raw numeric)
3537RETURNS numeric AS $$
3538    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3539        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3540        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3541        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3542$$ LANGUAGE SQL IMMUTABLE;
3543CREATE OR REPLACE FUNCTION CAL_PPEK0210_EPSSGA(raw numeric)
3544RETURNS numeric AS $$
3545    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3546        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3547        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3548        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3549$$ LANGUAGE SQL IMMUTABLE;
3550CREATE OR REPLACE FUNCTION CAL_PPEK0210_EPSSGB(raw numeric)
3551RETURNS numeric AS $$
3552    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3553        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3554        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3555        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3556$$ LANGUAGE SQL IMMUTABLE;
3557CREATE OR REPLACE FUNCTION CAL_RUEK9016_EPSSGA(raw numeric)
3558RETURNS numeric AS $$
3559    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3560        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3561        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3562        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3563$$ LANGUAGE SQL IMMUTABLE;
3564CREATE OR REPLACE FUNCTION CAL_RUEK9016_EPSSGB(raw numeric)
3565RETURNS numeric AS $$
3566    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3567        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3568        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3569        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3570$$ LANGUAGE SQL IMMUTABLE;
3571CREATE OR REPLACE FUNCTION CAL_XXKP0688_EPSSGA(raw numeric)
3572RETURNS numeric AS $$
3573    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3574        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3575        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3576        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3577$$ LANGUAGE SQL IMMUTABLE;
3578CREATE OR REPLACE FUNCTION CAL_XXKP0688_EPSSGB(raw numeric)
3579RETURNS numeric AS $$
3580    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3581        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3582        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3583        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3584$$ LANGUAGE SQL IMMUTABLE;
3585CREATE OR REPLACE FUNCTION CAL_RUEK8027_EPSSGA(raw numeric)
3586RETURNS numeric AS $$
3587    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3588        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3589        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3590        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3591$$ LANGUAGE SQL IMMUTABLE;
3592CREATE OR REPLACE FUNCTION CAL_RUEK8027_EPSSGB(raw numeric)
3593RETURNS numeric AS $$
3594    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3595        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3596        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3597        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3598$$ LANGUAGE SQL IMMUTABLE;
3599CREATE OR REPLACE FUNCTION CAL_PPEK0204_EPSSGA(raw numeric)
3600RETURNS numeric AS $$
3601    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3602        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3603        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3604        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3605$$ LANGUAGE SQL IMMUTABLE;
3606CREATE OR REPLACE FUNCTION CAL_PPEK0204_EPSSGB(raw numeric)
3607RETURNS numeric AS $$
3608    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3609        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3610        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3611        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3612$$ LANGUAGE SQL IMMUTABLE;
3613CREATE OR REPLACE FUNCTION CAL_RKEK1025_EPSSGA(raw numeric)
3614RETURNS numeric AS $$
3615    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3616        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3617        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3618        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3619$$ LANGUAGE SQL IMMUTABLE;
3620CREATE OR REPLACE FUNCTION CAL_RKEK1025_EPSSGB(raw numeric)
3621RETURNS numeric AS $$
3622    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3623        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3624        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3625        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3626$$ LANGUAGE SQL IMMUTABLE;
3627CREATE OR REPLACE FUNCTION CAL_RUEK9014_EPSSGA(raw numeric)
3628RETURNS numeric AS $$
3629    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3630        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3631        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3632        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3633$$ LANGUAGE SQL IMMUTABLE;
3634CREATE OR REPLACE FUNCTION CAL_RUEK9014_EPSSGB(raw numeric)
3635RETURNS numeric AS $$
3636    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3637        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3638        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3639        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3640$$ LANGUAGE SQL IMMUTABLE;
3641CREATE OR REPLACE FUNCTION CAL_PPEK0130_EPSSGA(raw numeric)
3642RETURNS numeric AS $$
3643    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3644        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3645        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3646        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3647$$ LANGUAGE SQL IMMUTABLE;
3648CREATE OR REPLACE FUNCTION CAL_PPEK0130_EPSSGB(raw numeric)
3649RETURNS numeric AS $$
3650    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3651        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3652        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3653        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3654$$ LANGUAGE SQL IMMUTABLE;
3655CREATE OR REPLACE FUNCTION CAL_PPEK0647_EPSSGA(raw numeric)
3656RETURNS numeric AS $$
3657    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3658        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3659        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3660        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3661$$ LANGUAGE SQL IMMUTABLE;
3662CREATE OR REPLACE FUNCTION CAL_PPEK0647_EPSSGB(raw numeric)
3663RETURNS numeric AS $$
3664    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3665        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3666        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3667        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3668$$ LANGUAGE SQL IMMUTABLE;
3669CREATE OR REPLACE FUNCTION CAL_NAKP8022_EPSSGA(raw numeric)
3670RETURNS numeric AS $$
3671    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3672        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3673        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3674        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3675$$ LANGUAGE SQL IMMUTABLE;
3676CREATE OR REPLACE FUNCTION CAL_NAKP8022_EPSSGB(raw numeric)
3677RETURNS numeric AS $$
3678    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3679        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3680        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3681        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3682$$ LANGUAGE SQL IMMUTABLE;
3683CREATE OR REPLACE FUNCTION CAL_WCK00038_EPSSGA(raw numeric)
3684RETURNS numeric AS $$
3685    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3686        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3687        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3688        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3689$$ LANGUAGE SQL IMMUTABLE;
3690CREATE OR REPLACE FUNCTION CAL_WCK00038_EPSSGB(raw numeric)
3691RETURNS numeric AS $$
3692    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3693        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3694        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3695        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3696$$ LANGUAGE SQL IMMUTABLE;
3697CREATE OR REPLACE FUNCTION CAL_PPEK0707_EPSSGA(raw numeric)
3698RETURNS numeric AS $$
3699    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3700        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3701        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3702        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3703$$ LANGUAGE SQL IMMUTABLE;
3704CREATE OR REPLACE FUNCTION CAL_PPEK0707_EPSSGB(raw numeric)
3705RETURNS numeric AS $$
3706    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3707        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3708        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3709        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3710$$ LANGUAGE SQL IMMUTABLE;
3711CREATE OR REPLACE FUNCTION CAL_XXKP0597_EPSSGA(raw numeric)
3712RETURNS numeric AS $$
3713    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3714        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3715        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3716        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3717$$ LANGUAGE SQL IMMUTABLE;
3718CREATE OR REPLACE FUNCTION CAL_XXKP0597_EPSSGB(raw numeric)
3719RETURNS numeric AS $$
3720    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3721        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3722        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3723        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3724$$ LANGUAGE SQL IMMUTABLE;
3725CREATE OR REPLACE FUNCTION CAL_BHKE0012_EPSSGA(raw numeric)
3726RETURNS numeric AS $$
3727    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3728        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3729        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3730        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3731$$ LANGUAGE SQL IMMUTABLE;
3732CREATE OR REPLACE FUNCTION CAL_BHKE0012_EPSSGB(raw numeric)
3733RETURNS numeric AS $$
3734    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3735        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3736        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3737        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3738$$ LANGUAGE SQL IMMUTABLE;
3739CREATE OR REPLACE FUNCTION CAL_PPEK0156_EPSSGA(raw numeric)
3740RETURNS numeric AS $$
3741    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3742        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3743        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3744        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3745$$ LANGUAGE SQL IMMUTABLE;
3746CREATE OR REPLACE FUNCTION CAL_PPEK0156_EPSSGB(raw numeric)
3747RETURNS numeric AS $$
3748    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3749        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3750        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3751        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3752$$ LANGUAGE SQL IMMUTABLE;
3753CREATE OR REPLACE FUNCTION CAL_PPEK0198_EPSSGA(raw numeric)
3754RETURNS numeric AS $$
3755    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3756        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3757        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3758        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3759$$ LANGUAGE SQL IMMUTABLE;
3760CREATE OR REPLACE FUNCTION CAL_PPEK0198_EPSSGB(raw numeric)
3761RETURNS numeric AS $$
3762    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3763        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3764        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3765        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3766$$ LANGUAGE SQL IMMUTABLE;
3767CREATE OR REPLACE FUNCTION CAL_WPK00002_EPSSGA(raw numeric)
3768RETURNS numeric AS $$
3769    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3770        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3771        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3772        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3773$$ LANGUAGE SQL IMMUTABLE;
3774CREATE OR REPLACE FUNCTION CAL_WPK00002_EPSSGB(raw numeric)
3775RETURNS numeric AS $$
3776    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3777        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3778        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3779        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3780$$ LANGUAGE SQL IMMUTABLE;
3781CREATE OR REPLACE FUNCTION CAL_XXKP0425_EPSSGA(raw numeric)
3782RETURNS numeric AS $$
3783    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3784        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3785        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3786        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3787$$ LANGUAGE SQL IMMUTABLE;
3788CREATE OR REPLACE FUNCTION CAL_XXKP0425_EPSSGB(raw numeric)
3789RETURNS numeric AS $$
3790    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3791        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3792        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3793        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3794$$ LANGUAGE SQL IMMUTABLE;
3795CREATE OR REPLACE FUNCTION CAL_BHKP0024_EPSSGA(raw numeric)
3796RETURNS numeric AS $$
3797    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3798        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3799        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3800        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3801$$ LANGUAGE SQL IMMUTABLE;
3802CREATE OR REPLACE FUNCTION CAL_BHKP0024_EPSSGB(raw numeric)
3803RETURNS numeric AS $$
3804    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3805        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3806        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3807        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3808$$ LANGUAGE SQL IMMUTABLE;
3809CREATE OR REPLACE FUNCTION CAL_PPEK0234_EPSSGA(raw numeric)
3810RETURNS numeric AS $$
3811    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3812        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3813        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3814        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3815$$ LANGUAGE SQL IMMUTABLE;
3816CREATE OR REPLACE FUNCTION CAL_PPEK0234_EPSSGB(raw numeric)
3817RETURNS numeric AS $$
3818    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3819        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3820        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3821        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3822$$ LANGUAGE SQL IMMUTABLE;
3823CREATE OR REPLACE FUNCTION CAL_PFEKP005_EPSSGA(raw numeric)
3824RETURNS numeric AS $$
3825    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3826        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3827        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3828        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3829$$ LANGUAGE SQL IMMUTABLE;
3830CREATE OR REPLACE FUNCTION CAL_PFEKP005_EPSSGB(raw numeric)
3831RETURNS numeric AS $$
3832    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3833        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3834        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3835        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3836$$ LANGUAGE SQL IMMUTABLE;
3837CREATE OR REPLACE FUNCTION CAL_PPEK0514_EPSSGA(raw numeric)
3838RETURNS numeric AS $$
3839    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3840        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3841        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3842        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3843$$ LANGUAGE SQL IMMUTABLE;
3844CREATE OR REPLACE FUNCTION CAL_PPEK0514_EPSSGB(raw numeric)
3845RETURNS numeric AS $$
3846    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3847        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3848        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3849        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3850$$ LANGUAGE SQL IMMUTABLE;
3851CREATE OR REPLACE FUNCTION CAL_BHKE0024_EPSSGA(raw numeric)
3852RETURNS numeric AS $$
3853    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3854        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3855        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3856        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3857$$ LANGUAGE SQL IMMUTABLE;
3858CREATE OR REPLACE FUNCTION CAL_BHKE0024_EPSSGB(raw numeric)
3859RETURNS numeric AS $$
3860    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3861        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3862        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3863        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3864$$ LANGUAGE SQL IMMUTABLE;
3865CREATE OR REPLACE FUNCTION CAL_PPEK0190_EPSSGA(raw numeric)
3866RETURNS numeric AS $$
3867    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3868        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3869        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3870        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3871$$ LANGUAGE SQL IMMUTABLE;
3872CREATE OR REPLACE FUNCTION CAL_PPEK0190_EPSSGB(raw numeric)
3873RETURNS numeric AS $$
3874    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3875        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3876        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3877        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3878$$ LANGUAGE SQL IMMUTABLE;
3879CREATE OR REPLACE FUNCTION CAL_XXKP0636_EPSSGA(raw numeric)
3880RETURNS numeric AS $$
3881    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3882        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3883        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3884        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3885$$ LANGUAGE SQL IMMUTABLE;
3886CREATE OR REPLACE FUNCTION CAL_XXKP0636_EPSSGB(raw numeric)
3887RETURNS numeric AS $$
3888    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3889        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3890        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3891        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3892$$ LANGUAGE SQL IMMUTABLE;
3893CREATE OR REPLACE FUNCTION CAL_XXKP0549_EPSSGA(raw numeric)
3894RETURNS numeric AS $$
3895    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3896        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3897        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3898        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3899$$ LANGUAGE SQL IMMUTABLE;
3900CREATE OR REPLACE FUNCTION CAL_XXKP0549_EPSSGB(raw numeric)
3901RETURNS numeric AS $$
3902    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3903        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3904        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3905        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3906$$ LANGUAGE SQL IMMUTABLE;
3907CREATE OR REPLACE FUNCTION CAL_XXKP0404_EPSSGA(raw numeric)
3908RETURNS numeric AS $$
3909    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3910        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3911        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3912        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3913$$ LANGUAGE SQL IMMUTABLE;
3914CREATE OR REPLACE FUNCTION CAL_XXKP0404_EPSSGB(raw numeric)
3915RETURNS numeric AS $$
3916    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3917        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3918        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3919        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3920$$ LANGUAGE SQL IMMUTABLE;
3921CREATE OR REPLACE FUNCTION CAL_PPEK0125_EPSSGA(raw numeric)
3922RETURNS numeric AS $$
3923    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3924        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3925        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3926        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3927$$ LANGUAGE SQL IMMUTABLE;
3928CREATE OR REPLACE FUNCTION CAL_PPEK0125_EPSSGB(raw numeric)
3929RETURNS numeric AS $$
3930    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3931        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3932        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3933        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3934$$ LANGUAGE SQL IMMUTABLE;
3935CREATE OR REPLACE FUNCTION CAL_NAKP802C_EPSSGA(raw numeric)
3936RETURNS numeric AS $$
3937    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3938        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3939        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3940        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3941$$ LANGUAGE SQL IMMUTABLE;
3942CREATE OR REPLACE FUNCTION CAL_NAKP802C_EPSSGB(raw numeric)
3943RETURNS numeric AS $$
3944    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3945        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3946        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3947        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3948$$ LANGUAGE SQL IMMUTABLE;
3949CREATE OR REPLACE FUNCTION CAL_BHKE0034_EPSSGA(raw numeric)
3950RETURNS numeric AS $$
3951    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3952        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3953        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3954        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3955$$ LANGUAGE SQL IMMUTABLE;
3956CREATE OR REPLACE FUNCTION CAL_BHKE0034_EPSSGB(raw numeric)
3957RETURNS numeric AS $$
3958    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3959        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3960        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3961        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3962$$ LANGUAGE SQL IMMUTABLE;
3963CREATE OR REPLACE FUNCTION CAL_RKEK1044_EPSSGA(raw numeric)
3964RETURNS numeric AS $$
3965    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3966        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3967        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3968        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3969$$ LANGUAGE SQL IMMUTABLE;
3970CREATE OR REPLACE FUNCTION CAL_RKEK1044_EPSSGB(raw numeric)
3971RETURNS numeric AS $$
3972    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3973        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3974        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3975        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3976$$ LANGUAGE SQL IMMUTABLE;
3977CREATE OR REPLACE FUNCTION CAL_XXKP0686_EPSSGA(raw numeric)
3978RETURNS numeric AS $$
3979    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3980        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3981        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3982        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3983$$ LANGUAGE SQL IMMUTABLE;
3984CREATE OR REPLACE FUNCTION CAL_XXKP0686_EPSSGB(raw numeric)
3985RETURNS numeric AS $$
3986    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3987        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3988        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3989        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3990$$ LANGUAGE SQL IMMUTABLE;
3991CREATE OR REPLACE FUNCTION CAL_ILKP0002_EPSSGA(raw numeric)
3992RETURNS numeric AS $$
3993    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
3994        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
3995        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
3996        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
3997$$ LANGUAGE SQL IMMUTABLE;
3998CREATE OR REPLACE FUNCTION CAL_ILKP0002_EPSSGB(raw numeric)
3999RETURNS numeric AS $$
4000    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4001        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4002        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4003        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4004$$ LANGUAGE SQL IMMUTABLE;
4005CREATE OR REPLACE FUNCTION CAL_APKT9005_EPSSGA(raw numeric)
4006RETURNS numeric AS $$
4007    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4008        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4009        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4010        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4011$$ LANGUAGE SQL IMMUTABLE;
4012CREATE OR REPLACE FUNCTION CAL_APKT9005_EPSSGB(raw numeric)
4013RETURNS numeric AS $$
4014    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4015        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4016        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4017        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4018$$ LANGUAGE SQL IMMUTABLE;
4019CREATE OR REPLACE FUNCTION CAL_XXKP0694_EPSSGA(raw numeric)
4020RETURNS numeric AS $$
4021    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4022        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4023        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4024        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4025$$ LANGUAGE SQL IMMUTABLE;
4026CREATE OR REPLACE FUNCTION CAL_XXKP0694_EPSSGB(raw numeric)
4027RETURNS numeric AS $$
4028    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4029        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4030        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4031        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4032$$ LANGUAGE SQL IMMUTABLE;
4033CREATE OR REPLACE FUNCTION CAL_PPEK0523_EPSSGA(raw numeric)
4034RETURNS numeric AS $$
4035    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4036        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4037        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4038        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4039$$ LANGUAGE SQL IMMUTABLE;
4040CREATE OR REPLACE FUNCTION CAL_PPEK0523_EPSSGB(raw numeric)
4041RETURNS numeric AS $$
4042    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4043        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4044        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4045        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4046$$ LANGUAGE SQL IMMUTABLE;
4047CREATE OR REPLACE FUNCTION CAL_BHKE0005_EPSSGA(raw numeric)
4048RETURNS numeric AS $$
4049    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4050        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4051        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4052        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4053$$ LANGUAGE SQL IMMUTABLE;
4054CREATE OR REPLACE FUNCTION CAL_BHKE0005_EPSSGB(raw numeric)
4055RETURNS numeric AS $$
4056    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4057        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4058        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4059        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4060$$ LANGUAGE SQL IMMUTABLE;
4061CREATE OR REPLACE FUNCTION CAL_PPEK0230_EPSSGA(raw numeric)
4062RETURNS numeric AS $$
4063    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4064        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4065        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4066        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4067$$ LANGUAGE SQL IMMUTABLE;
4068CREATE OR REPLACE FUNCTION CAL_PPEK0230_EPSSGB(raw numeric)
4069RETURNS numeric AS $$
4070    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4071        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4072        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4073        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4074$$ LANGUAGE SQL IMMUTABLE;
4075CREATE OR REPLACE FUNCTION CAL_BHKE0045_EPSSGA(raw numeric)
4076RETURNS numeric AS $$
4077    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4078        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4079        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4080        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4081$$ LANGUAGE SQL IMMUTABLE;
4082CREATE OR REPLACE FUNCTION CAL_BHKE0045_EPSSGB(raw numeric)
4083RETURNS numeric AS $$
4084    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4085        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4086        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4087        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4088$$ LANGUAGE SQL IMMUTABLE;
4089CREATE OR REPLACE FUNCTION CAL_RUEK8037_EPSSGA(raw numeric)
4090RETURNS numeric AS $$
4091    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4092        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4093        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4094        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4095$$ LANGUAGE SQL IMMUTABLE;
4096CREATE OR REPLACE FUNCTION CAL_RUEK8037_EPSSGB(raw numeric)
4097RETURNS numeric AS $$
4098    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4099        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4100        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4101        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4102$$ LANGUAGE SQL IMMUTABLE;
4103CREATE OR REPLACE FUNCTION CAL_RUEK8014_EPSSGA(raw numeric)
4104RETURNS numeric AS $$
4105    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4106        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4107        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4108        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4109$$ LANGUAGE SQL IMMUTABLE;
4110CREATE OR REPLACE FUNCTION CAL_RUEK8014_EPSSGB(raw numeric)
4111RETURNS numeric AS $$
4112    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4113        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4114        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4115        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4116$$ LANGUAGE SQL IMMUTABLE;
4117CREATE OR REPLACE FUNCTION CAL_PPEK0184_EPSSGA(raw numeric)
4118RETURNS numeric AS $$
4119    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4120        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4121        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4122        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4123$$ LANGUAGE SQL IMMUTABLE;
4124CREATE OR REPLACE FUNCTION CAL_PPEK0184_EPSSGB(raw numeric)
4125RETURNS numeric AS $$
4126    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4127        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4128        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4129        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4130$$ LANGUAGE SQL IMMUTABLE;
4131CREATE OR REPLACE FUNCTION CAL_PFEKP001_EPSSGA(raw numeric)
4132RETURNS numeric AS $$
4133    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4134        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4135        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4136        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4137$$ LANGUAGE SQL IMMUTABLE;
4138CREATE OR REPLACE FUNCTION CAL_PFEKP001_EPSSGB(raw numeric)
4139RETURNS numeric AS $$
4140    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4141        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4142        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4143        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4144$$ LANGUAGE SQL IMMUTABLE;
4145CREATE OR REPLACE FUNCTION CAL_PPEK0151_EPSSGA(raw numeric)
4146RETURNS numeric AS $$
4147    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4148        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4149        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4150        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4151$$ LANGUAGE SQL IMMUTABLE;
4152CREATE OR REPLACE FUNCTION CAL_PPEK0151_EPSSGB(raw numeric)
4153RETURNS numeric AS $$
4154    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4155        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4156        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4157        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4158$$ LANGUAGE SQL IMMUTABLE;
4159CREATE OR REPLACE FUNCTION CAL_NAKP8602_EPSSGA(raw numeric)
4160RETURNS numeric AS $$
4161    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4162        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4163        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4164        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4165$$ LANGUAGE SQL IMMUTABLE;
4166CREATE OR REPLACE FUNCTION CAL_NAKP8602_EPSSGB(raw numeric)
4167RETURNS numeric AS $$
4168    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4169        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4170        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4171        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4172$$ LANGUAGE SQL IMMUTABLE;
4173CREATE OR REPLACE FUNCTION CAL_XXKP0654_EPSSGA(raw numeric)
4174RETURNS numeric AS $$
4175    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4176        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4177        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4178        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4179$$ LANGUAGE SQL IMMUTABLE;
4180CREATE OR REPLACE FUNCTION CAL_XXKP0654_EPSSGB(raw numeric)
4181RETURNS numeric AS $$
4182    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4183        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4184        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4185        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4186$$ LANGUAGE SQL IMMUTABLE;
4187CREATE OR REPLACE FUNCTION CAL_XXKP0414_EPSSGA(raw numeric)
4188RETURNS numeric AS $$
4189    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4190        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4191        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4192        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4193$$ LANGUAGE SQL IMMUTABLE;
4194CREATE OR REPLACE FUNCTION CAL_XXKP0414_EPSSGB(raw numeric)
4195RETURNS numeric AS $$
4196    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4197        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4198        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4199        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4200$$ LANGUAGE SQL IMMUTABLE;
4201CREATE OR REPLACE FUNCTION CAL_RUEK8076_EPSSGA(raw numeric)
4202RETURNS numeric AS $$
4203    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4204        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4205        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4206        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4207$$ LANGUAGE SQL IMMUTABLE;
4208CREATE OR REPLACE FUNCTION CAL_RUEK8076_EPSSGB(raw numeric)
4209RETURNS numeric AS $$
4210    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4211        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4212        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4213        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4214$$ LANGUAGE SQL IMMUTABLE;
4215CREATE OR REPLACE FUNCTION CAL_RUEK9012_EPSSGA(raw numeric)
4216RETURNS numeric AS $$
4217    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4218        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4219        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4220        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4221$$ LANGUAGE SQL IMMUTABLE;
4222CREATE OR REPLACE FUNCTION CAL_RUEK9012_EPSSGB(raw numeric)
4223RETURNS numeric AS $$
4224    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4225        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4226        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4227        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4228$$ LANGUAGE SQL IMMUTABLE;
4229CREATE OR REPLACE FUNCTION CAL_RUEK9017_EPSSGA(raw numeric)
4230RETURNS numeric AS $$
4231    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4232        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4233        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4234        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4235$$ LANGUAGE SQL IMMUTABLE;
4236CREATE OR REPLACE FUNCTION CAL_RUEK9017_EPSSGB(raw numeric)
4237RETURNS numeric AS $$
4238    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4239        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4240        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4241        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4242$$ LANGUAGE SQL IMMUTABLE;
4243CREATE OR REPLACE FUNCTION CAL_PPEK0195_EPSSGA(raw numeric)
4244RETURNS numeric AS $$
4245    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4246        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4247        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4248        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4249$$ LANGUAGE SQL IMMUTABLE;
4250CREATE OR REPLACE FUNCTION CAL_PPEK0195_EPSSGB(raw numeric)
4251RETURNS numeric AS $$
4252    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4253        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4254        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4255        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4256$$ LANGUAGE SQL IMMUTABLE;
4257CREATE OR REPLACE FUNCTION CAL_YYEK000E_EPSSGA(raw numeric)
4258RETURNS numeric AS $$
4259    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4260        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4261        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4262        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4263$$ LANGUAGE SQL IMMUTABLE;
4264CREATE OR REPLACE FUNCTION CAL_YYEK000E_EPSSGB(raw numeric)
4265RETURNS numeric AS $$
4266    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4267        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4268        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4269        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4270$$ LANGUAGE SQL IMMUTABLE;
4271CREATE OR REPLACE FUNCTION CAL_XXKP0415_EPSSGA(raw numeric)
4272RETURNS numeric AS $$
4273    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4274        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4275        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4276        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4277$$ LANGUAGE SQL IMMUTABLE;
4278CREATE OR REPLACE FUNCTION CAL_XXKP0415_EPSSGB(raw numeric)
4279RETURNS numeric AS $$
4280    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4281        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4282        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4283        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4284$$ LANGUAGE SQL IMMUTABLE;
4285CREATE OR REPLACE FUNCTION CAL_XXKP0592_EPSSGA(raw numeric)
4286RETURNS numeric AS $$
4287    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4288        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4289        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4290        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4291$$ LANGUAGE SQL IMMUTABLE;
4292CREATE OR REPLACE FUNCTION CAL_XXKP0592_EPSSGB(raw numeric)
4293RETURNS numeric AS $$
4294    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4295        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4296        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4297        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4298$$ LANGUAGE SQL IMMUTABLE;
4299CREATE OR REPLACE FUNCTION CAL_BHKP0018_EPSSGA(raw numeric)
4300RETURNS numeric AS $$
4301    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4302        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4303        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4304        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4305$$ LANGUAGE SQL IMMUTABLE;
4306CREATE OR REPLACE FUNCTION CAL_BHKP0018_EPSSGB(raw numeric)
4307RETURNS numeric AS $$
4308    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4309        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4310        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4311        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4312$$ LANGUAGE SQL IMMUTABLE;
4313CREATE OR REPLACE FUNCTION CAL_XXKP0595_EPSSGA(raw numeric)
4314RETURNS numeric AS $$
4315    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4316        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4317        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4318        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4319$$ LANGUAGE SQL IMMUTABLE;
4320CREATE OR REPLACE FUNCTION CAL_XXKP0595_EPSSGB(raw numeric)
4321RETURNS numeric AS $$
4322    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4323        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4324        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4325        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4326$$ LANGUAGE SQL IMMUTABLE;
4327CREATE OR REPLACE FUNCTION CAL_PPEK0655_EPSSGA(raw numeric)
4328RETURNS numeric AS $$
4329    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4330        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4331        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4332        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4333$$ LANGUAGE SQL IMMUTABLE;
4334CREATE OR REPLACE FUNCTION CAL_PPEK0655_EPSSGB(raw numeric)
4335RETURNS numeric AS $$
4336    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4337        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4338        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4339        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4340$$ LANGUAGE SQL IMMUTABLE;
4341CREATE OR REPLACE FUNCTION CAL_RUEK8001_EPSSGA(raw numeric)
4342RETURNS numeric AS $$
4343    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4344        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4345        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4346        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4347$$ LANGUAGE SQL IMMUTABLE;
4348CREATE OR REPLACE FUNCTION CAL_RUEK8001_EPSSGB(raw numeric)
4349RETURNS numeric AS $$
4350    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4351        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4352        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4353        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4354$$ LANGUAGE SQL IMMUTABLE;
4355CREATE OR REPLACE FUNCTION CAL_RUEK8046_EPSSGA(raw numeric)
4356RETURNS numeric AS $$
4357    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4358        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4359        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4360        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4361$$ LANGUAGE SQL IMMUTABLE;
4362CREATE OR REPLACE FUNCTION CAL_RUEK8046_EPSSGB(raw numeric)
4363RETURNS numeric AS $$
4364    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4365        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4366        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4367        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4368$$ LANGUAGE SQL IMMUTABLE;
4369CREATE OR REPLACE FUNCTION CAL_PPEK0173_EPSSGA(raw numeric)
4370RETURNS numeric AS $$
4371    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4372        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4373        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4374        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4375$$ LANGUAGE SQL IMMUTABLE;
4376CREATE OR REPLACE FUNCTION CAL_PPEK0173_EPSSGB(raw numeric)
4377RETURNS numeric AS $$
4378    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4379        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4380        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4381        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4382$$ LANGUAGE SQL IMMUTABLE;
4383CREATE OR REPLACE FUNCTION CAL_XXKP0558_EPSSGA(raw numeric)
4384RETURNS numeric AS $$
4385    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4386        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4387        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4388        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4389$$ LANGUAGE SQL IMMUTABLE;
4390CREATE OR REPLACE FUNCTION CAL_XXKP0558_EPSSGB(raw numeric)
4391RETURNS numeric AS $$
4392    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4393        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4394        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4395        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4396$$ LANGUAGE SQL IMMUTABLE;
4397CREATE OR REPLACE FUNCTION CAL_PPEK0128_EPSSGA(raw numeric)
4398RETURNS numeric AS $$
4399    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4400        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4401        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4402        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4403$$ LANGUAGE SQL IMMUTABLE;
4404CREATE OR REPLACE FUNCTION CAL_PPEK0128_EPSSGB(raw numeric)
4405RETURNS numeric AS $$
4406    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4407        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4408        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4409        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4410$$ LANGUAGE SQL IMMUTABLE;
4411CREATE OR REPLACE FUNCTION CAL_PPEK0137_EPSSGA(raw numeric)
4412RETURNS numeric AS $$
4413    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4414        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4415        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4416        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4417$$ LANGUAGE SQL IMMUTABLE;
4418CREATE OR REPLACE FUNCTION CAL_PPEK0137_EPSSGB(raw numeric)
4419RETURNS numeric AS $$
4420    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4421        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4422        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4423        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4424$$ LANGUAGE SQL IMMUTABLE;
4425CREATE OR REPLACE FUNCTION CAL_PPEK0209_EPSSGA(raw numeric)
4426RETURNS numeric AS $$
4427    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4428        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4429        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4430        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4431$$ LANGUAGE SQL IMMUTABLE;
4432CREATE OR REPLACE FUNCTION CAL_PPEK0209_EPSSGB(raw numeric)
4433RETURNS numeric AS $$
4434    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4435        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4436        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4437        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4438$$ LANGUAGE SQL IMMUTABLE;
4439CREATE OR REPLACE FUNCTION CAL_PPEK0633_EPSSGA(raw numeric)
4440RETURNS numeric AS $$
4441    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4442        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4443        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4444        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4445$$ LANGUAGE SQL IMMUTABLE;
4446CREATE OR REPLACE FUNCTION CAL_PPEK0633_EPSSGB(raw numeric)
4447RETURNS numeric AS $$
4448    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4449        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4450        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4451        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4452$$ LANGUAGE SQL IMMUTABLE;
4453CREATE OR REPLACE FUNCTION CAL_PPEK0302_EPSSGA(raw numeric)
4454RETURNS numeric AS $$
4455    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4456        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4457        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4458        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4459$$ LANGUAGE SQL IMMUTABLE;
4460CREATE OR REPLACE FUNCTION CAL_PPEK0302_EPSSGB(raw numeric)
4461RETURNS numeric AS $$
4462    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4463        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4464        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4465        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4466$$ LANGUAGE SQL IMMUTABLE;
4467CREATE OR REPLACE FUNCTION CAL_RUEK8062_EPSSGA(raw numeric)
4468RETURNS numeric AS $$
4469    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4470        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4471        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4472        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4473$$ LANGUAGE SQL IMMUTABLE;
4474CREATE OR REPLACE FUNCTION CAL_RUEK8062_EPSSGB(raw numeric)
4475RETURNS numeric AS $$
4476    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4477        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4478        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4479        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4480$$ LANGUAGE SQL IMMUTABLE;
4481CREATE OR REPLACE FUNCTION CAL_APKT9006_EPSSGA(raw numeric)
4482RETURNS numeric AS $$
4483    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4484        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4485        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4486        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4487$$ LANGUAGE SQL IMMUTABLE;
4488CREATE OR REPLACE FUNCTION CAL_APKT9006_EPSSGB(raw numeric)
4489RETURNS numeric AS $$
4490    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4491        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4492        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4493        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4494$$ LANGUAGE SQL IMMUTABLE;
4495CREATE OR REPLACE FUNCTION CAL_PPEK0140_EPSSGA(raw numeric)
4496RETURNS numeric AS $$
4497    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4498        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4499        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4500        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4501$$ LANGUAGE SQL IMMUTABLE;
4502CREATE OR REPLACE FUNCTION CAL_PPEK0140_EPSSGB(raw numeric)
4503RETURNS numeric AS $$
4504    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4505        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4506        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4507        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4508$$ LANGUAGE SQL IMMUTABLE;
4509CREATE OR REPLACE FUNCTION CAL_XXKP0465_EPSSGA(raw numeric)
4510RETURNS numeric AS $$
4511    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4512        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4513        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4514        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4515$$ LANGUAGE SQL IMMUTABLE;
4516CREATE OR REPLACE FUNCTION CAL_XXKP0465_EPSSGB(raw numeric)
4517RETURNS numeric AS $$
4518    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4519        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4520        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4521        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4522$$ LANGUAGE SQL IMMUTABLE;
4523CREATE OR REPLACE FUNCTION CAL_PPEK1105_EPSSGA(raw numeric)
4524RETURNS numeric AS $$
4525    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4526        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4527        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4528        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4529$$ LANGUAGE SQL IMMUTABLE;
4530CREATE OR REPLACE FUNCTION CAL_PPEK1105_EPSSGB(raw numeric)
4531RETURNS numeric AS $$
4532    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4533        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4534        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4535        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4536$$ LANGUAGE SQL IMMUTABLE;
4537CREATE OR REPLACE FUNCTION CAL_RUEK8067_EPSSGA(raw numeric)
4538RETURNS numeric AS $$
4539    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4540        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4541        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4542        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4543$$ LANGUAGE SQL IMMUTABLE;
4544CREATE OR REPLACE FUNCTION CAL_RUEK8067_EPSSGB(raw numeric)
4545RETURNS numeric AS $$
4546    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4547        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4548        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4549        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4550$$ LANGUAGE SQL IMMUTABLE;
4551CREATE OR REPLACE FUNCTION CAL_PPEK0126_EPSSGA(raw numeric)
4552RETURNS numeric AS $$
4553    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4554        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4555        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4556        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4557$$ LANGUAGE SQL IMMUTABLE;
4558CREATE OR REPLACE FUNCTION CAL_PPEK0126_EPSSGB(raw numeric)
4559RETURNS numeric AS $$
4560    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4561        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4562        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4563        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4564$$ LANGUAGE SQL IMMUTABLE;
4565CREATE OR REPLACE FUNCTION CAL_XXKP0634_EPSSGA(raw numeric)
4566RETURNS numeric AS $$
4567    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4568        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4569        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4570        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4571$$ LANGUAGE SQL IMMUTABLE;
4572CREATE OR REPLACE FUNCTION CAL_XXKP0634_EPSSGB(raw numeric)
4573RETURNS numeric AS $$
4574    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4575        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4576        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4577        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4578$$ LANGUAGE SQL IMMUTABLE;
4579CREATE OR REPLACE FUNCTION CAL_BHKP0006_EPSSGA(raw numeric)
4580RETURNS numeric AS $$
4581    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4582        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4583        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4584        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4585$$ LANGUAGE SQL IMMUTABLE;
4586CREATE OR REPLACE FUNCTION CAL_BHKP0006_EPSSGB(raw numeric)
4587RETURNS numeric AS $$
4588    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4589        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4590        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4591        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4592$$ LANGUAGE SQL IMMUTABLE;
4593CREATE OR REPLACE FUNCTION CAL_PPEK0150_EPSSGA(raw numeric)
4594RETURNS numeric AS $$
4595    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4596        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4597        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4598        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4599$$ LANGUAGE SQL IMMUTABLE;
4600CREATE OR REPLACE FUNCTION CAL_PPEK0150_EPSSGB(raw numeric)
4601RETURNS numeric AS $$
4602    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4603        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4604        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4605        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4606$$ LANGUAGE SQL IMMUTABLE;
4607CREATE OR REPLACE FUNCTION CAL_YYEK0010_EPSSGA(raw numeric)
4608RETURNS numeric AS $$
4609    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4610        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4611        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4612        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4613$$ LANGUAGE SQL IMMUTABLE;
4614CREATE OR REPLACE FUNCTION CAL_YYEK0010_EPSSGB(raw numeric)
4615RETURNS numeric AS $$
4616    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4617        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4618        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4619        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4620$$ LANGUAGE SQL IMMUTABLE;
4621CREATE OR REPLACE FUNCTION CAL_PPEK0236_EPSSGA(raw numeric)
4622RETURNS numeric AS $$
4623    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4624        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4625        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4626        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4627$$ LANGUAGE SQL IMMUTABLE;
4628CREATE OR REPLACE FUNCTION CAL_PPEK0236_EPSSGB(raw numeric)
4629RETURNS numeric AS $$
4630    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4631        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4632        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4633        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4634$$ LANGUAGE SQL IMMUTABLE;
4635CREATE OR REPLACE FUNCTION CAL_YYKP0011_EPSSGA(raw numeric)
4636RETURNS numeric AS $$
4637    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4638        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4639        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4640        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4641$$ LANGUAGE SQL IMMUTABLE;
4642CREATE OR REPLACE FUNCTION CAL_YYKP0011_EPSSGB(raw numeric)
4643RETURNS numeric AS $$
4644    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4645        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4646        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4647        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4648$$ LANGUAGE SQL IMMUTABLE;
4649CREATE OR REPLACE FUNCTION CAL_BHKE0019_EPSSGA(raw numeric)
4650RETURNS numeric AS $$
4651    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4652        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4653        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4654        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4655$$ LANGUAGE SQL IMMUTABLE;
4656CREATE OR REPLACE FUNCTION CAL_BHKE0019_EPSSGB(raw numeric)
4657RETURNS numeric AS $$
4658    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4659        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4660        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4661        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4662$$ LANGUAGE SQL IMMUTABLE;
4663CREATE OR REPLACE FUNCTION CAL_PPEK0678_EPSSGA(raw numeric)
4664RETURNS numeric AS $$
4665    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4666        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4667        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4668        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4669$$ LANGUAGE SQL IMMUTABLE;
4670CREATE OR REPLACE FUNCTION CAL_PPEK0678_EPSSGB(raw numeric)
4671RETURNS numeric AS $$
4672    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4673        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4674        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4675        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4676$$ LANGUAGE SQL IMMUTABLE;
4677CREATE OR REPLACE FUNCTION CAL_BHKE0037_EPSSGA(raw numeric)
4678RETURNS numeric AS $$
4679    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4680        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4681        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4682        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4683$$ LANGUAGE SQL IMMUTABLE;
4684CREATE OR REPLACE FUNCTION CAL_BHKE0037_EPSSGB(raw numeric)
4685RETURNS numeric AS $$
4686    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4687        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4688        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4689        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4690$$ LANGUAGE SQL IMMUTABLE;
4691CREATE OR REPLACE FUNCTION CAL_PPEK0178_EPSSGA(raw numeric)
4692RETURNS numeric AS $$
4693    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4694        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4695        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4696        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4697$$ LANGUAGE SQL IMMUTABLE;
4698CREATE OR REPLACE FUNCTION CAL_PPEK0178_EPSSGB(raw numeric)
4699RETURNS numeric AS $$
4700    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4701        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4702        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4703        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4704$$ LANGUAGE SQL IMMUTABLE;
4705CREATE OR REPLACE FUNCTION CAL_XXKP0658_EPSSGA(raw numeric)
4706RETURNS numeric AS $$
4707    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4708        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4709        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4710        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4711$$ LANGUAGE SQL IMMUTABLE;
4712CREATE OR REPLACE FUNCTION CAL_XXKP0658_EPSSGB(raw numeric)
4713RETURNS numeric AS $$
4714    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4715        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4716        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4717        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4718$$ LANGUAGE SQL IMMUTABLE;
4719CREATE OR REPLACE FUNCTION CAL_BHKE0031_EPSSGA(raw numeric)
4720RETURNS numeric AS $$
4721    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4722        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4723        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4724        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4725$$ LANGUAGE SQL IMMUTABLE;
4726CREATE OR REPLACE FUNCTION CAL_BHKE0031_EPSSGB(raw numeric)
4727RETURNS numeric AS $$
4728    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4729        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4730        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4731        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4732$$ LANGUAGE SQL IMMUTABLE;
4733CREATE OR REPLACE FUNCTION CAL_PPEK0208_EPSSGA(raw numeric)
4734RETURNS numeric AS $$
4735    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4736        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4737        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4738        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4739$$ LANGUAGE SQL IMMUTABLE;
4740CREATE OR REPLACE FUNCTION CAL_PPEK0208_EPSSGB(raw numeric)
4741RETURNS numeric AS $$
4742    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4743        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4744        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4745        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4746$$ LANGUAGE SQL IMMUTABLE;
4747CREATE OR REPLACE FUNCTION CAL_XXKP0644_EPSSGA(raw numeric)
4748RETURNS numeric AS $$
4749    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4750        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4751        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4752        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4753$$ LANGUAGE SQL IMMUTABLE;
4754CREATE OR REPLACE FUNCTION CAL_XXKP0644_EPSSGB(raw numeric)
4755RETURNS numeric AS $$
4756    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4757        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4758        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4759        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4760$$ LANGUAGE SQL IMMUTABLE;
4761CREATE OR REPLACE FUNCTION CAL_RKEK0022_EPSSGA(raw numeric)
4762RETURNS numeric AS $$
4763    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4764        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4765        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4766        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4767$$ LANGUAGE SQL IMMUTABLE;
4768CREATE OR REPLACE FUNCTION CAL_RKEK0022_EPSSGB(raw numeric)
4769RETURNS numeric AS $$
4770    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4771        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4772        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4773        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4774$$ LANGUAGE SQL IMMUTABLE;
4775CREATE OR REPLACE FUNCTION CAL_BHKE0016_EPSSGA(raw numeric)
4776RETURNS numeric AS $$
4777    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4778        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4779        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4780        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4781$$ LANGUAGE SQL IMMUTABLE;
4782CREATE OR REPLACE FUNCTION CAL_BHKE0016_EPSSGB(raw numeric)
4783RETURNS numeric AS $$
4784    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4785        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4786        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4787        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4788$$ LANGUAGE SQL IMMUTABLE;
4789CREATE OR REPLACE FUNCTION CAL_XXKP0689_EPSSGA(raw numeric)
4790RETURNS numeric AS $$
4791    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4792        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4793        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4794        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4795$$ LANGUAGE SQL IMMUTABLE;
4796CREATE OR REPLACE FUNCTION CAL_XXKP0689_EPSSGB(raw numeric)
4797RETURNS numeric AS $$
4798    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4799        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4800        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4801        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4802$$ LANGUAGE SQL IMMUTABLE;
4803CREATE OR REPLACE FUNCTION CAL_WCK00025_EPSSGA(raw numeric)
4804RETURNS numeric AS $$
4805    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4806        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4807        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4808        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4809$$ LANGUAGE SQL IMMUTABLE;
4810CREATE OR REPLACE FUNCTION CAL_WCK00025_EPSSGB(raw numeric)
4811RETURNS numeric AS $$
4812    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4813        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4814        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4815        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4816$$ LANGUAGE SQL IMMUTABLE;
4817CREATE OR REPLACE FUNCTION CAL_ILKP0001_EPSSGA(raw numeric)
4818RETURNS numeric AS $$
4819    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4820        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4821        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4822        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4823$$ LANGUAGE SQL IMMUTABLE;
4824CREATE OR REPLACE FUNCTION CAL_ILKP0001_EPSSGB(raw numeric)
4825RETURNS numeric AS $$
4826    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4827        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4828        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4829        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4830$$ LANGUAGE SQL IMMUTABLE;
4831CREATE OR REPLACE FUNCTION CAL_RUEK8026_EPSSGA(raw numeric)
4832RETURNS numeric AS $$
4833    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4834        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4835        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4836        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4837$$ LANGUAGE SQL IMMUTABLE;
4838CREATE OR REPLACE FUNCTION CAL_RUEK8026_EPSSGB(raw numeric)
4839RETURNS numeric AS $$
4840    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4841        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4842        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4843        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4844$$ LANGUAGE SQL IMMUTABLE;
4845CREATE OR REPLACE FUNCTION CAL_PPEK0148_EPSSGA(raw numeric)
4846RETURNS numeric AS $$
4847    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4848        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4849        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4850        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4851$$ LANGUAGE SQL IMMUTABLE;
4852CREATE OR REPLACE FUNCTION CAL_PPEK0148_EPSSGB(raw numeric)
4853RETURNS numeric AS $$
4854    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4855        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4856        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4857        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4858$$ LANGUAGE SQL IMMUTABLE;
4859CREATE OR REPLACE FUNCTION CAL_PPEK0505_EPSSGA(raw numeric)
4860RETURNS numeric AS $$
4861    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4862        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4863        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4864        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4865$$ LANGUAGE SQL IMMUTABLE;
4866CREATE OR REPLACE FUNCTION CAL_PPEK0505_EPSSGB(raw numeric)
4867RETURNS numeric AS $$
4868    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4869        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4870        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4871        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4872$$ LANGUAGE SQL IMMUTABLE;
4873CREATE OR REPLACE FUNCTION CAL_PPEK0676_EPSSGA(raw numeric)
4874RETURNS numeric AS $$
4875    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4876        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4877        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4878        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4879$$ LANGUAGE SQL IMMUTABLE;
4880CREATE OR REPLACE FUNCTION CAL_PPEK0676_EPSSGB(raw numeric)
4881RETURNS numeric AS $$
4882    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4883        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4884        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4885        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4886$$ LANGUAGE SQL IMMUTABLE;
4887CREATE OR REPLACE FUNCTION CAL_WCK00020_EPSSGA(raw numeric)
4888RETURNS numeric AS $$
4889    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4890        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4891        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4892        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4893$$ LANGUAGE SQL IMMUTABLE;
4894CREATE OR REPLACE FUNCTION CAL_WCK00020_EPSSGB(raw numeric)
4895RETURNS numeric AS $$
4896    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4897        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4898        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4899        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4900$$ LANGUAGE SQL IMMUTABLE;
4901CREATE OR REPLACE FUNCTION CAL_XXKP0468_EPSSGA(raw numeric)
4902RETURNS numeric AS $$
4903    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4904        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4905        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4906        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4907$$ LANGUAGE SQL IMMUTABLE;
4908CREATE OR REPLACE FUNCTION CAL_XXKP0468_EPSSGB(raw numeric)
4909RETURNS numeric AS $$
4910    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4911        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4912        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4913        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4914$$ LANGUAGE SQL IMMUTABLE;
4915CREATE OR REPLACE FUNCTION CAL_PPEK0116_EPSSGA(raw numeric)
4916RETURNS numeric AS $$
4917    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4918        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4919        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4920        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4921$$ LANGUAGE SQL IMMUTABLE;
4922CREATE OR REPLACE FUNCTION CAL_PPEK0116_EPSSGB(raw numeric)
4923RETURNS numeric AS $$
4924    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4925        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4926        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4927        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4928$$ LANGUAGE SQL IMMUTABLE;
4929CREATE OR REPLACE FUNCTION CAL_PPEK0515_EPSSGA(raw numeric)
4930RETURNS numeric AS $$
4931    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4932        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4933        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4934        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4935$$ LANGUAGE SQL IMMUTABLE;
4936CREATE OR REPLACE FUNCTION CAL_PPEK0515_EPSSGB(raw numeric)
4937RETURNS numeric AS $$
4938    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4939        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4940        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4941        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4942$$ LANGUAGE SQL IMMUTABLE;
4943CREATE OR REPLACE FUNCTION CAL_XXKP0589_EPSSGA(raw numeric)
4944RETURNS numeric AS $$
4945    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4946        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4947        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4948        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4949$$ LANGUAGE SQL IMMUTABLE;
4950CREATE OR REPLACE FUNCTION CAL_XXKP0589_EPSSGB(raw numeric)
4951RETURNS numeric AS $$
4952    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4953        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4954        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4955        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4956$$ LANGUAGE SQL IMMUTABLE;
4957CREATE OR REPLACE FUNCTION CAL_IUKI0003_EPSSGA(raw numeric)
4958RETURNS numeric AS $$
4959    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4960        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4961        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4962        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4963$$ LANGUAGE SQL IMMUTABLE;
4964CREATE OR REPLACE FUNCTION CAL_IUKI0003_EPSSGB(raw numeric)
4965RETURNS numeric AS $$
4966    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4967        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4968        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4969        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4970$$ LANGUAGE SQL IMMUTABLE;
4971CREATE OR REPLACE FUNCTION CAL_RKEK0037_EPSSGA(raw numeric)
4972RETURNS numeric AS $$
4973    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4974        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4975        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4976        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4977$$ LANGUAGE SQL IMMUTABLE;
4978CREATE OR REPLACE FUNCTION CAL_RKEK0037_EPSSGB(raw numeric)
4979RETURNS numeric AS $$
4980    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4981        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4982        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4983        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4984$$ LANGUAGE SQL IMMUTABLE;
4985CREATE OR REPLACE FUNCTION CAL_PPEK0603_EPSSGA(raw numeric)
4986RETURNS numeric AS $$
4987    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4988        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4989        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4990        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4991$$ LANGUAGE SQL IMMUTABLE;
4992CREATE OR REPLACE FUNCTION CAL_PPEK0603_EPSSGB(raw numeric)
4993RETURNS numeric AS $$
4994    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
4995        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
4996        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
4997        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
4998$$ LANGUAGE SQL IMMUTABLE;
4999CREATE OR REPLACE FUNCTION CAL_XXKP0685_EPSSGA(raw numeric)
5000RETURNS numeric AS $$
5001    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5002        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5003        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5004        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5005$$ LANGUAGE SQL IMMUTABLE;
5006CREATE OR REPLACE FUNCTION CAL_XXKP0685_EPSSGB(raw numeric)
5007RETURNS numeric AS $$
5008    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5009        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5010        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5011        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5012$$ LANGUAGE SQL IMMUTABLE;
5013CREATE OR REPLACE FUNCTION CAL_RUEKP086_EPSSGA(raw numeric)
5014RETURNS numeric AS $$
5015    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5016        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5017        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5018        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5019$$ LANGUAGE SQL IMMUTABLE;
5020CREATE OR REPLACE FUNCTION CAL_RUEKP086_EPSSGB(raw numeric)
5021RETURNS numeric AS $$
5022    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5023        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5024        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5025        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5026$$ LANGUAGE SQL IMMUTABLE;
5027CREATE OR REPLACE FUNCTION CAL_XXKP0542_EPSSGA(raw numeric)
5028RETURNS numeric AS $$
5029    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5030        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5031        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5032        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5033$$ LANGUAGE SQL IMMUTABLE;
5034CREATE OR REPLACE FUNCTION CAL_XXKP0542_EPSSGB(raw numeric)
5035RETURNS numeric AS $$
5036    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5037        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5038        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5039        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5040$$ LANGUAGE SQL IMMUTABLE;
5041CREATE OR REPLACE FUNCTION CAL_NAKP8504_EPSSGA(raw numeric)
5042RETURNS numeric AS $$
5043    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5044        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5045        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5046        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5047$$ LANGUAGE SQL IMMUTABLE;
5048CREATE OR REPLACE FUNCTION CAL_NAKP8504_EPSSGB(raw numeric)
5049RETURNS numeric AS $$
5050    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5051        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5052        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5053        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5054$$ LANGUAGE SQL IMMUTABLE;
5055CREATE OR REPLACE FUNCTION CAL_CFKPR0001_EPSSGA(raw numeric)
5056RETURNS numeric AS $$
5057    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5058        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5059        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5060        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5061$$ LANGUAGE SQL IMMUTABLE;
5062CREATE OR REPLACE FUNCTION CAL_CFKPR0001_EPSSGB(raw numeric)
5063RETURNS numeric AS $$
5064    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5065        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5066        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5067        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5068$$ LANGUAGE SQL IMMUTABLE;
5069CREATE OR REPLACE FUNCTION CAL_RUEK8066_EPSSGA(raw numeric)
5070RETURNS numeric AS $$
5071    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5072        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5073        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5074        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5075$$ LANGUAGE SQL IMMUTABLE;
5076CREATE OR REPLACE FUNCTION CAL_RUEK8066_EPSSGB(raw numeric)
5077RETURNS numeric AS $$
5078    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5079        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5080        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5081        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5082$$ LANGUAGE SQL IMMUTABLE;
5083CREATE OR REPLACE FUNCTION CAL_XXKP0439_EPSSGA(raw numeric)
5084RETURNS numeric AS $$
5085    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5086        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5087        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5088        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5089$$ LANGUAGE SQL IMMUTABLE;
5090CREATE OR REPLACE FUNCTION CAL_XXKP0439_EPSSGB(raw numeric)
5091RETURNS numeric AS $$
5092    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5093        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5094        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5095        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5096$$ LANGUAGE SQL IMMUTABLE;
5097CREATE OR REPLACE FUNCTION CAL_NAKP802D_EPSSGA(raw numeric)
5098RETURNS numeric AS $$
5099    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5100        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5101        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5102        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5103$$ LANGUAGE SQL IMMUTABLE;
5104CREATE OR REPLACE FUNCTION CAL_NAKP802D_EPSSGB(raw numeric)
5105RETURNS numeric AS $$
5106    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5107        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5108        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5109        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5110$$ LANGUAGE SQL IMMUTABLE;
5111CREATE OR REPLACE FUNCTION CAL_IUKE0004_EPSSGA(raw numeric)
5112RETURNS numeric AS $$
5113    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5114        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5115        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5116        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5117$$ LANGUAGE SQL IMMUTABLE;
5118CREATE OR REPLACE FUNCTION CAL_IUKE0004_EPSSGB(raw numeric)
5119RETURNS numeric AS $$
5120    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5121        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5122        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5123        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5124$$ LANGUAGE SQL IMMUTABLE;
5125CREATE OR REPLACE FUNCTION CAL_RUEK8034_EPSSGA(raw numeric)
5126RETURNS numeric AS $$
5127    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5128        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5129        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5130        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5131$$ LANGUAGE SQL IMMUTABLE;
5132CREATE OR REPLACE FUNCTION CAL_RUEK8034_EPSSGB(raw numeric)
5133RETURNS numeric AS $$
5134    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5135        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5136        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5137        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5138$$ LANGUAGE SQL IMMUTABLE;
5139CREATE OR REPLACE FUNCTION CAL_PFEKP007_EPSSGA(raw numeric)
5140RETURNS numeric AS $$
5141    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5142        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5143        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5144        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5145$$ LANGUAGE SQL IMMUTABLE;
5146CREATE OR REPLACE FUNCTION CAL_PFEKP007_EPSSGB(raw numeric)
5147RETURNS numeric AS $$
5148    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5149        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5150        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5151        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5152$$ LANGUAGE SQL IMMUTABLE;
5153CREATE OR REPLACE FUNCTION CAL_PPEK0632_EPSSGA(raw numeric)
5154RETURNS numeric AS $$
5155    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5156        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5157        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5158        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5159$$ LANGUAGE SQL IMMUTABLE;
5160CREATE OR REPLACE FUNCTION CAL_PPEK0632_EPSSGB(raw numeric)
5161RETURNS numeric AS $$
5162    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5163        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5164        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5165        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5166$$ LANGUAGE SQL IMMUTABLE;
5167CREATE OR REPLACE FUNCTION CAL_XXKP0594_EPSSGA(raw numeric)
5168RETURNS numeric AS $$
5169    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5170        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5171        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5172        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5173$$ LANGUAGE SQL IMMUTABLE;
5174CREATE OR REPLACE FUNCTION CAL_XXKP0594_EPSSGB(raw numeric)
5175RETURNS numeric AS $$
5176    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5177        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5178        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5179        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5180$$ LANGUAGE SQL IMMUTABLE;
5181CREATE OR REPLACE FUNCTION CAL_XXKP0451_EPSSGA(raw numeric)
5182RETURNS numeric AS $$
5183    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5184        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5185        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5186        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5187$$ LANGUAGE SQL IMMUTABLE;
5188CREATE OR REPLACE FUNCTION CAL_XXKP0451_EPSSGB(raw numeric)
5189RETURNS numeric AS $$
5190    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5191        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5192        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5193        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5194$$ LANGUAGE SQL IMMUTABLE;
5195CREATE OR REPLACE FUNCTION CAL_XXKP0645_EPSSGA(raw numeric)
5196RETURNS numeric AS $$
5197    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5198        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5199        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5200        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5201$$ LANGUAGE SQL IMMUTABLE;
5202CREATE OR REPLACE FUNCTION CAL_XXKP0645_EPSSGB(raw numeric)
5203RETURNS numeric AS $$
5204    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5205        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5206        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5207        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5208$$ LANGUAGE SQL IMMUTABLE;
5209CREATE OR REPLACE FUNCTION CAL_MAKP0000_EPSSGA(raw numeric)
5210RETURNS numeric AS $$
5211    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5212        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5213        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5214        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5215$$ LANGUAGE SQL IMMUTABLE;
5216CREATE OR REPLACE FUNCTION CAL_MAKP0000_EPSSGB(raw numeric)
5217RETURNS numeric AS $$
5218    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5219        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5220        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5221        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5222$$ LANGUAGE SQL IMMUTABLE;
5223CREATE OR REPLACE FUNCTION CAL_WCK00027_EPSSGA(raw numeric)
5224RETURNS numeric AS $$
5225    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5226        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5227        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5228        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5229$$ LANGUAGE SQL IMMUTABLE;
5230CREATE OR REPLACE FUNCTION CAL_WCK00027_EPSSGB(raw numeric)
5231RETURNS numeric AS $$
5232    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5233        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5234        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5235        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5236$$ LANGUAGE SQL IMMUTABLE;
5237CREATE OR REPLACE FUNCTION CAL_XXKP0405_EPSSGA(raw numeric)
5238RETURNS numeric AS $$
5239    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5240        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5241        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5242        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5243$$ LANGUAGE SQL IMMUTABLE;
5244CREATE OR REPLACE FUNCTION CAL_XXKP0405_EPSSGB(raw numeric)
5245RETURNS numeric AS $$
5246    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5247        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5248        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5249        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5250$$ LANGUAGE SQL IMMUTABLE;
5251CREATE OR REPLACE FUNCTION CAL_BHKP0005_EPSSGA(raw numeric)
5252RETURNS numeric AS $$
5253    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5254        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5255        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5256        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5257$$ LANGUAGE SQL IMMUTABLE;
5258CREATE OR REPLACE FUNCTION CAL_BHKP0005_EPSSGB(raw numeric)
5259RETURNS numeric AS $$
5260    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5261        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5262        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5263        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5264$$ LANGUAGE SQL IMMUTABLE;
5265CREATE OR REPLACE FUNCTION CAL_PPEK0228_EPSSGA(raw numeric)
5266RETURNS numeric AS $$
5267    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5268        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5269        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5270        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5271$$ LANGUAGE SQL IMMUTABLE;
5272CREATE OR REPLACE FUNCTION CAL_PPEK0228_EPSSGB(raw numeric)
5273RETURNS numeric AS $$
5274    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5275        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5276        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5277        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5278$$ LANGUAGE SQL IMMUTABLE;
5279CREATE OR REPLACE FUNCTION CAL_UCKE0001_EPSSGA(raw numeric)
5280RETURNS numeric AS $$
5281    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5282        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5283        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5284        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5285$$ LANGUAGE SQL IMMUTABLE;
5286CREATE OR REPLACE FUNCTION CAL_UCKE0001_EPSSGB(raw numeric)
5287RETURNS numeric AS $$
5288    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5289        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5290        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5291        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5292$$ LANGUAGE SQL IMMUTABLE;
5293CREATE OR REPLACE FUNCTION CAL_PPEK0513_EPSSGA(raw numeric)
5294RETURNS numeric AS $$
5295    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5296        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5297        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5298        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5299$$ LANGUAGE SQL IMMUTABLE;
5300CREATE OR REPLACE FUNCTION CAL_PPEK0513_EPSSGB(raw numeric)
5301RETURNS numeric AS $$
5302    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5303        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5304        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5305        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5306$$ LANGUAGE SQL IMMUTABLE;
5307CREATE OR REPLACE FUNCTION CAL_BHKE0025_EPSSGA(raw numeric)
5308RETURNS numeric AS $$
5309    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5310        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5311        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5312        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5313$$ LANGUAGE SQL IMMUTABLE;
5314CREATE OR REPLACE FUNCTION CAL_BHKE0025_EPSSGB(raw numeric)
5315RETURNS numeric AS $$
5316    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5317        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5318        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5319        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5320$$ LANGUAGE SQL IMMUTABLE;
5321CREATE OR REPLACE FUNCTION CAL_PPEK0405_EPSSGA(raw numeric)
5322RETURNS numeric AS $$
5323    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5324        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5325        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5326        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5327$$ LANGUAGE SQL IMMUTABLE;
5328CREATE OR REPLACE FUNCTION CAL_PPEK0405_EPSSGB(raw numeric)
5329RETURNS numeric AS $$
5330    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5331        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5332        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5333        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5334$$ LANGUAGE SQL IMMUTABLE;
5335CREATE OR REPLACE FUNCTION CAL_XXKP0582_EPSSGA(raw numeric)
5336RETURNS numeric AS $$
5337    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5338        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5339        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5340        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5341$$ LANGUAGE SQL IMMUTABLE;
5342CREATE OR REPLACE FUNCTION CAL_XXKP0582_EPSSGB(raw numeric)
5343RETURNS numeric AS $$
5344    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5345        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5346        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5347        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5348$$ LANGUAGE SQL IMMUTABLE;
5349CREATE OR REPLACE FUNCTION CAL_SEEK1016_EPSSGA(raw numeric)
5350RETURNS numeric AS $$
5351    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5352        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5353        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5354        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5355$$ LANGUAGE SQL IMMUTABLE;
5356CREATE OR REPLACE FUNCTION CAL_SEEK1016_EPSSGB(raw numeric)
5357RETURNS numeric AS $$
5358    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5359        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5360        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5361        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5362$$ LANGUAGE SQL IMMUTABLE;
5363CREATE OR REPLACE FUNCTION CAL_PPEK0102_EPSSGA(raw numeric)
5364RETURNS numeric AS $$
5365    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5366        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5367        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5368        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5369$$ LANGUAGE SQL IMMUTABLE;
5370CREATE OR REPLACE FUNCTION CAL_PPEK0102_EPSSGB(raw numeric)
5371RETURNS numeric AS $$
5372    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5373        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5374        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5375        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5376$$ LANGUAGE SQL IMMUTABLE;
5377CREATE OR REPLACE FUNCTION CAL_ILKP0004_EPSSGA(raw numeric)
5378RETURNS numeric AS $$
5379    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5380        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5381        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5382        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5383$$ LANGUAGE SQL IMMUTABLE;
5384CREATE OR REPLACE FUNCTION CAL_ILKP0004_EPSSGB(raw numeric)
5385RETURNS numeric AS $$
5386    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5387        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5388        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5389        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5390$$ LANGUAGE SQL IMMUTABLE;
5391CREATE OR REPLACE FUNCTION CAL_XXKP0641_EPSSGA(raw numeric)
5392RETURNS numeric AS $$
5393    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5394        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5395        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5396        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5397$$ LANGUAGE SQL IMMUTABLE;
5398CREATE OR REPLACE FUNCTION CAL_XXKP0641_EPSSGB(raw numeric)
5399RETURNS numeric AS $$
5400    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5401        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5402        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5403        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5404$$ LANGUAGE SQL IMMUTABLE;
5405CREATE OR REPLACE FUNCTION CAL_XXKP0604_EPSSGA(raw numeric)
5406RETURNS numeric AS $$
5407    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5408        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5409        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5410        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5411$$ LANGUAGE SQL IMMUTABLE;
5412CREATE OR REPLACE FUNCTION CAL_XXKP0604_EPSSGB(raw numeric)
5413RETURNS numeric AS $$
5414    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5415        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5416        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5417        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5418$$ LANGUAGE SQL IMMUTABLE;
5419CREATE OR REPLACE FUNCTION CAL_RUEK8069_EPSSGA(raw numeric)
5420RETURNS numeric AS $$
5421    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5422        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5423        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5424        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5425$$ LANGUAGE SQL IMMUTABLE;
5426CREATE OR REPLACE FUNCTION CAL_RUEK8069_EPSSGB(raw numeric)
5427RETURNS numeric AS $$
5428    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5429        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5430        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5431        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5432$$ LANGUAGE SQL IMMUTABLE;
5433CREATE OR REPLACE FUNCTION CAL_PPEK0180_EPSSGA(raw numeric)
5434RETURNS numeric AS $$
5435    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5436        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5437        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5438        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5439$$ LANGUAGE SQL IMMUTABLE;
5440CREATE OR REPLACE FUNCTION CAL_PPEK0180_EPSSGB(raw numeric)
5441RETURNS numeric AS $$
5442    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5443        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5444        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5445        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5446$$ LANGUAGE SQL IMMUTABLE;
5447CREATE OR REPLACE FUNCTION CAL_PPEK0406_EPSSGA(raw numeric)
5448RETURNS numeric AS $$
5449    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5450        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5451        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5452        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5453$$ LANGUAGE SQL IMMUTABLE;
5454CREATE OR REPLACE FUNCTION CAL_PPEK0406_EPSSGB(raw numeric)
5455RETURNS numeric AS $$
5456    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5457        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5458        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5459        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5460$$ LANGUAGE SQL IMMUTABLE;
5461CREATE OR REPLACE FUNCTION CAL_NAKP8514_EPSSGA(raw numeric)
5462RETURNS numeric AS $$
5463    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5464        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5465        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5466        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5467$$ LANGUAGE SQL IMMUTABLE;
5468CREATE OR REPLACE FUNCTION CAL_NAKP8514_EPSSGB(raw numeric)
5469RETURNS numeric AS $$
5470    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5471        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5472        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5473        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5474$$ LANGUAGE SQL IMMUTABLE;
5475CREATE OR REPLACE FUNCTION CAL_YYKP000D_EPSSGA(raw numeric)
5476RETURNS numeric AS $$
5477    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5478        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5479        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5480        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5481$$ LANGUAGE SQL IMMUTABLE;
5482CREATE OR REPLACE FUNCTION CAL_YYKP000D_EPSSGB(raw numeric)
5483RETURNS numeric AS $$
5484    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5485        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5486        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5487        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5488$$ LANGUAGE SQL IMMUTABLE;
5489CREATE OR REPLACE FUNCTION CAL_PPEK0168_EPSSGA(raw numeric)
5490RETURNS numeric AS $$
5491    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5492        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5493        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5494        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5495$$ LANGUAGE SQL IMMUTABLE;
5496CREATE OR REPLACE FUNCTION CAL_PPEK0168_EPSSGB(raw numeric)
5497RETURNS numeric AS $$
5498    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5499        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5500        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5501        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5502$$ LANGUAGE SQL IMMUTABLE;
5503CREATE OR REPLACE FUNCTION CAL_ILKP0007_EPSSGA(raw numeric)
5504RETURNS numeric AS $$
5505    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5506        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5507        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5508        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5509$$ LANGUAGE SQL IMMUTABLE;
5510CREATE OR REPLACE FUNCTION CAL_ILKP0007_EPSSGB(raw numeric)
5511RETURNS numeric AS $$
5512    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5513        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5514        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5515        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5516$$ LANGUAGE SQL IMMUTABLE;
5517CREATE OR REPLACE FUNCTION CAL_BHKE0022_EPSSGA(raw numeric)
5518RETURNS numeric AS $$
5519    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5520        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5521        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5522        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5523$$ LANGUAGE SQL IMMUTABLE;
5524CREATE OR REPLACE FUNCTION CAL_BHKE0022_EPSSGB(raw numeric)
5525RETURNS numeric AS $$
5526    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5527        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5528        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5529        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5530$$ LANGUAGE SQL IMMUTABLE;
5531CREATE OR REPLACE FUNCTION CAL_NAKP8517_EPSSGA(raw numeric)
5532RETURNS numeric AS $$
5533    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5534        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5535        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5536        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5537$$ LANGUAGE SQL IMMUTABLE;
5538CREATE OR REPLACE FUNCTION CAL_NAKP8517_EPSSGB(raw numeric)
5539RETURNS numeric AS $$
5540    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5541        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5542        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5543        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5544$$ LANGUAGE SQL IMMUTABLE;
5545CREATE OR REPLACE FUNCTION CAL_PPEK2053_EPSSGA(raw numeric)
5546RETURNS numeric AS $$
5547    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5548        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5549        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5550        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5551$$ LANGUAGE SQL IMMUTABLE;
5552CREATE OR REPLACE FUNCTION CAL_PPEK2053_EPSSGB(raw numeric)
5553RETURNS numeric AS $$
5554    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5555        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5556        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5557        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5558$$ LANGUAGE SQL IMMUTABLE;
5559CREATE OR REPLACE FUNCTION CAL_PPEK0145_EPSSGA(raw numeric)
5560RETURNS numeric AS $$
5561    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5562        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5563        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5564        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5565$$ LANGUAGE SQL IMMUTABLE;
5566CREATE OR REPLACE FUNCTION CAL_PPEK0145_EPSSGB(raw numeric)
5567RETURNS numeric AS $$
5568    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5569        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5570        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5571        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5572$$ LANGUAGE SQL IMMUTABLE;
5573CREATE OR REPLACE FUNCTION CAL_RKEK0028_EPSSGA(raw numeric)
5574RETURNS numeric AS $$
5575    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5576        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5577        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5578        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5579$$ LANGUAGE SQL IMMUTABLE;
5580CREATE OR REPLACE FUNCTION CAL_RKEK0028_EPSSGB(raw numeric)
5581RETURNS numeric AS $$
5582    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5583        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5584        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5585        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5586$$ LANGUAGE SQL IMMUTABLE;
5587CREATE OR REPLACE FUNCTION CAL_PPEK0242_EPSSGA(raw numeric)
5588RETURNS numeric AS $$
5589    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5590        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5591        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5592        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5593$$ LANGUAGE SQL IMMUTABLE;
5594CREATE OR REPLACE FUNCTION CAL_PPEK0242_EPSSGB(raw numeric)
5595RETURNS numeric AS $$
5596    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5597        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5598        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5599        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5600$$ LANGUAGE SQL IMMUTABLE;
5601CREATE OR REPLACE FUNCTION CAL_XXKP0650_EPSSGA(raw numeric)
5602RETURNS numeric AS $$
5603    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5604        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5605        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5606        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5607$$ LANGUAGE SQL IMMUTABLE;
5608CREATE OR REPLACE FUNCTION CAL_XXKP0650_EPSSGB(raw numeric)
5609RETURNS numeric AS $$
5610    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5611        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5612        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5613        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5614$$ LANGUAGE SQL IMMUTABLE;
5615CREATE OR REPLACE FUNCTION CAL_PPEK0152_EPSSGA(raw numeric)
5616RETURNS numeric AS $$
5617    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5618        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5619        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5620        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5621$$ LANGUAGE SQL IMMUTABLE;
5622CREATE OR REPLACE FUNCTION CAL_PPEK0152_EPSSGB(raw numeric)
5623RETURNS numeric AS $$
5624    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5625        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5626        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5627        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5628$$ LANGUAGE SQL IMMUTABLE;
5629CREATE OR REPLACE FUNCTION CAL_XXKP0435_EPSSGA(raw numeric)
5630RETURNS numeric AS $$
5631    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5632        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5633        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5634        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5635$$ LANGUAGE SQL IMMUTABLE;
5636CREATE OR REPLACE FUNCTION CAL_XXKP0435_EPSSGB(raw numeric)
5637RETURNS numeric AS $$
5638    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5639        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5640        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5641        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5642$$ LANGUAGE SQL IMMUTABLE;
5643CREATE OR REPLACE FUNCTION CAL_XXKP0684_EPSSGA(raw numeric)
5644RETURNS numeric AS $$
5645    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5646        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5647        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5648        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5649$$ LANGUAGE SQL IMMUTABLE;
5650CREATE OR REPLACE FUNCTION CAL_XXKP0684_EPSSGB(raw numeric)
5651RETURNS numeric AS $$
5652    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5653        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5654        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5655        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5656$$ LANGUAGE SQL IMMUTABLE;
5657CREATE OR REPLACE FUNCTION CAL_BHKP0019_EPSSGA(raw numeric)
5658RETURNS numeric AS $$
5659    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5660        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5661        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5662        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5663$$ LANGUAGE SQL IMMUTABLE;
5664CREATE OR REPLACE FUNCTION CAL_BHKP0019_EPSSGB(raw numeric)
5665RETURNS numeric AS $$
5666    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5667        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5668        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5669        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5670$$ LANGUAGE SQL IMMUTABLE;
5671CREATE OR REPLACE FUNCTION CAL_PPEK0106_EPSSGA(raw numeric)
5672RETURNS numeric AS $$
5673    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5674        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5675        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5676        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5677$$ LANGUAGE SQL IMMUTABLE;
5678CREATE OR REPLACE FUNCTION CAL_PPEK0106_EPSSGB(raw numeric)
5679RETURNS numeric AS $$
5680    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5681        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5682        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5683        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5684$$ LANGUAGE SQL IMMUTABLE;
5685CREATE OR REPLACE FUNCTION CAL_RUEK8018_EPSSGA(raw numeric)
5686RETURNS numeric AS $$
5687    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5688        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5689        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5690        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5691$$ LANGUAGE SQL IMMUTABLE;
5692CREATE OR REPLACE FUNCTION CAL_RUEK8018_EPSSGB(raw numeric)
5693RETURNS numeric AS $$
5694    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5695        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5696        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5697        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5698$$ LANGUAGE SQL IMMUTABLE;
5699CREATE OR REPLACE FUNCTION CAL_BHKE0038_EPSSGA(raw numeric)
5700RETURNS numeric AS $$
5701    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5702        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5703        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5704        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5705$$ LANGUAGE SQL IMMUTABLE;
5706CREATE OR REPLACE FUNCTION CAL_BHKE0038_EPSSGB(raw numeric)
5707RETURNS numeric AS $$
5708    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5709        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5710        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5711        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5712$$ LANGUAGE SQL IMMUTABLE;
5713CREATE OR REPLACE FUNCTION CAL_XXKP0565_EPSSGA(raw numeric)
5714RETURNS numeric AS $$
5715    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5716        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5717        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5718        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5719$$ LANGUAGE SQL IMMUTABLE;
5720CREATE OR REPLACE FUNCTION CAL_XXKP0565_EPSSGB(raw numeric)
5721RETURNS numeric AS $$
5722    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5723        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5724        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5725        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5726$$ LANGUAGE SQL IMMUTABLE;
5727CREATE OR REPLACE FUNCTION CAL_NAKP801C_EPSSGA(raw numeric)
5728RETURNS numeric AS $$
5729    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5730        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5731        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5732        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5733$$ LANGUAGE SQL IMMUTABLE;
5734CREATE OR REPLACE FUNCTION CAL_NAKP801C_EPSSGB(raw numeric)
5735RETURNS numeric AS $$
5736    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5737        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5738        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5739        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5740$$ LANGUAGE SQL IMMUTABLE;
5741CREATE OR REPLACE FUNCTION CAL_PPEK0185_EPSSGA(raw numeric)
5742RETURNS numeric AS $$
5743    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5744        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5745        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5746        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5747$$ LANGUAGE SQL IMMUTABLE;
5748CREATE OR REPLACE FUNCTION CAL_PPEK0185_EPSSGB(raw numeric)
5749RETURNS numeric AS $$
5750    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5751        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5752        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5753        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5754$$ LANGUAGE SQL IMMUTABLE;
5755CREATE OR REPLACE FUNCTION CAL_PPEK0153_EPSSGA(raw numeric)
5756RETURNS numeric AS $$
5757    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5758        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5759        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5760        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5761$$ LANGUAGE SQL IMMUTABLE;
5762CREATE OR REPLACE FUNCTION CAL_PPEK0153_EPSSGB(raw numeric)
5763RETURNS numeric AS $$
5764    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5765        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5766        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5767        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5768$$ LANGUAGE SQL IMMUTABLE;
5769CREATE OR REPLACE FUNCTION CAL_PPEK2006_EPSSGA(raw numeric)
5770RETURNS numeric AS $$
5771    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5772        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5773        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5774        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5775$$ LANGUAGE SQL IMMUTABLE;
5776CREATE OR REPLACE FUNCTION CAL_PPEK2006_EPSSGB(raw numeric)
5777RETURNS numeric AS $$
5778    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5779        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5780        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5781        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5782$$ LANGUAGE SQL IMMUTABLE;
5783CREATE OR REPLACE FUNCTION CAL_PPEK0225_EPSSGA(raw numeric)
5784RETURNS numeric AS $$
5785    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5786        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5787        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5788        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5789$$ LANGUAGE SQL IMMUTABLE;
5790CREATE OR REPLACE FUNCTION CAL_PPEK0225_EPSSGB(raw numeric)
5791RETURNS numeric AS $$
5792    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5793        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5794        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5795        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5796$$ LANGUAGE SQL IMMUTABLE;
5797CREATE OR REPLACE FUNCTION CAL_PPEK0609_EPSSGA(raw numeric)
5798RETURNS numeric AS $$
5799    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5800        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5801        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5802        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5803$$ LANGUAGE SQL IMMUTABLE;
5804CREATE OR REPLACE FUNCTION CAL_PPEK0609_EPSSGB(raw numeric)
5805RETURNS numeric AS $$
5806    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5807        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5808        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5809        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5810$$ LANGUAGE SQL IMMUTABLE;
5811CREATE OR REPLACE FUNCTION CAL_XXKP5005_EPSSGA(raw numeric)
5812RETURNS numeric AS $$
5813    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5814        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5815        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5816        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5817$$ LANGUAGE SQL IMMUTABLE;
5818CREATE OR REPLACE FUNCTION CAL_XXKP5005_EPSSGB(raw numeric)
5819RETURNS numeric AS $$
5820    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5821        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5822        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5823        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5824$$ LANGUAGE SQL IMMUTABLE;
5825CREATE OR REPLACE FUNCTION CAL_XXKP0512_EPSSGA(raw numeric)
5826RETURNS numeric AS $$
5827    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5828        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5829        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5830        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5831$$ LANGUAGE SQL IMMUTABLE;
5832CREATE OR REPLACE FUNCTION CAL_XXKP0512_EPSSGB(raw numeric)
5833RETURNS numeric AS $$
5834    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5835        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5836        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5837        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5838$$ LANGUAGE SQL IMMUTABLE;
5839CREATE OR REPLACE FUNCTION CAL_RKEK0023_EPSSGA(raw numeric)
5840RETURNS numeric AS $$
5841    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5842        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5843        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5844        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5845$$ LANGUAGE SQL IMMUTABLE;
5846CREATE OR REPLACE FUNCTION CAL_RKEK0023_EPSSGB(raw numeric)
5847RETURNS numeric AS $$
5848    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5849        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5850        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5851        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5852$$ LANGUAGE SQL IMMUTABLE;
5853CREATE OR REPLACE FUNCTION CAL_RUEK8012_EPSSGA(raw numeric)
5854RETURNS numeric AS $$
5855    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5856        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5857        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5858        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5859$$ LANGUAGE SQL IMMUTABLE;
5860CREATE OR REPLACE FUNCTION CAL_RUEK8012_EPSSGB(raw numeric)
5861RETURNS numeric AS $$
5862    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5863        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5864        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5865        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5866$$ LANGUAGE SQL IMMUTABLE;
5867CREATE OR REPLACE FUNCTION CAL_RUEK8016_EPSSGA(raw numeric)
5868RETURNS numeric AS $$
5869    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5870        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5871        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5872        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5873$$ LANGUAGE SQL IMMUTABLE;
5874CREATE OR REPLACE FUNCTION CAL_RUEK8016_EPSSGB(raw numeric)
5875RETURNS numeric AS $$
5876    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5877        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5878        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5879        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5880$$ LANGUAGE SQL IMMUTABLE;
5881CREATE OR REPLACE FUNCTION CAL_PPEK0233_EPSSGA(raw numeric)
5882RETURNS numeric AS $$
5883    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5884        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5885        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5886        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5887$$ LANGUAGE SQL IMMUTABLE;
5888CREATE OR REPLACE FUNCTION CAL_PPEK0233_EPSSGB(raw numeric)
5889RETURNS numeric AS $$
5890    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5891        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5892        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5893        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5894$$ LANGUAGE SQL IMMUTABLE;
5895CREATE OR REPLACE FUNCTION CAL_PPEK0146_EPSSGA(raw numeric)
5896RETURNS numeric AS $$
5897    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5898        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5899        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5900        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5901$$ LANGUAGE SQL IMMUTABLE;
5902CREATE OR REPLACE FUNCTION CAL_PPEK0146_EPSSGB(raw numeric)
5903RETURNS numeric AS $$
5904    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5905        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5906        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5907        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5908$$ LANGUAGE SQL IMMUTABLE;
5909CREATE OR REPLACE FUNCTION CAL_PPEK0239_EPSSGA(raw numeric)
5910RETURNS numeric AS $$
5911    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5912        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5913        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5914        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5915$$ LANGUAGE SQL IMMUTABLE;
5916CREATE OR REPLACE FUNCTION CAL_PPEK0239_EPSSGB(raw numeric)
5917RETURNS numeric AS $$
5918    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5919        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5920        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5921        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5922$$ LANGUAGE SQL IMMUTABLE;
5923CREATE OR REPLACE FUNCTION CAL_NAKP8028_EPSSGA(raw numeric)
5924RETURNS numeric AS $$
5925    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5926        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5927        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5928        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5929$$ LANGUAGE SQL IMMUTABLE;
5930CREATE OR REPLACE FUNCTION CAL_NAKP8028_EPSSGB(raw numeric)
5931RETURNS numeric AS $$
5932    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5933        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5934        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5935        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5936$$ LANGUAGE SQL IMMUTABLE;
5937CREATE OR REPLACE FUNCTION CAL_BHKP0009_EPSSGA(raw numeric)
5938RETURNS numeric AS $$
5939    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5940        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5941        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5942        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5943$$ LANGUAGE SQL IMMUTABLE;
5944CREATE OR REPLACE FUNCTION CAL_BHKP0009_EPSSGB(raw numeric)
5945RETURNS numeric AS $$
5946    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5947        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5948        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5949        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5950$$ LANGUAGE SQL IMMUTABLE;
5951CREATE OR REPLACE FUNCTION CAL_PPEK0604_EPSSGA(raw numeric)
5952RETURNS numeric AS $$
5953    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5954        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5955        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5956        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5957$$ LANGUAGE SQL IMMUTABLE;
5958CREATE OR REPLACE FUNCTION CAL_PPEK0604_EPSSGB(raw numeric)
5959RETURNS numeric AS $$
5960    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5961        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5962        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5963        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5964$$ LANGUAGE SQL IMMUTABLE;
5965CREATE OR REPLACE FUNCTION CAL_PPEK0147_EPSSGA(raw numeric)
5966RETURNS numeric AS $$
5967    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5968        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5969        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5970        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5971$$ LANGUAGE SQL IMMUTABLE;
5972CREATE OR REPLACE FUNCTION CAL_PPEK0147_EPSSGB(raw numeric)
5973RETURNS numeric AS $$
5974    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5975        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5976        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5977        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5978$$ LANGUAGE SQL IMMUTABLE;
5979CREATE OR REPLACE FUNCTION CAL_PPEK0138_EPSSGA(raw numeric)
5980RETURNS numeric AS $$
5981    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5982        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5983        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5984        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5985$$ LANGUAGE SQL IMMUTABLE;
5986CREATE OR REPLACE FUNCTION CAL_PPEK0138_EPSSGB(raw numeric)
5987RETURNS numeric AS $$
5988    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5989        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5990        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5991        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5992$$ LANGUAGE SQL IMMUTABLE;
5993CREATE OR REPLACE FUNCTION CAL_XXKP0643_EPSSGA(raw numeric)
5994RETURNS numeric AS $$
5995    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
5996        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
5997        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
5998        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
5999$$ LANGUAGE SQL IMMUTABLE;
6000CREATE OR REPLACE FUNCTION CAL_XXKP0643_EPSSGB(raw numeric)
6001RETURNS numeric AS $$
6002    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6003        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6004        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6005        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6006$$ LANGUAGE SQL IMMUTABLE;
6007CREATE OR REPLACE FUNCTION CAL_PPEK0224_EPSSGA(raw numeric)
6008RETURNS numeric AS $$
6009    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6010        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6011        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6012        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6013$$ LANGUAGE SQL IMMUTABLE;
6014CREATE OR REPLACE FUNCTION CAL_PPEK0224_EPSSGB(raw numeric)
6015RETURNS numeric AS $$
6016    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6017        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6018        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6019        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6020$$ LANGUAGE SQL IMMUTABLE;
6021CREATE OR REPLACE FUNCTION CAL_XXKP0568_EPSSGA(raw numeric)
6022RETURNS numeric AS $$
6023    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6024        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6025        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6026        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6027$$ LANGUAGE SQL IMMUTABLE;
6028CREATE OR REPLACE FUNCTION CAL_XXKP0568_EPSSGB(raw numeric)
6029RETURNS numeric AS $$
6030    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6031        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6032        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6033        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6034$$ LANGUAGE SQL IMMUTABLE;
6035CREATE OR REPLACE FUNCTION CAL_RKEK0021_EPSSGA(raw numeric)
6036RETURNS numeric AS $$
6037    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6038        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6039        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6040        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6041$$ LANGUAGE SQL IMMUTABLE;
6042CREATE OR REPLACE FUNCTION CAL_RKEK0021_EPSSGB(raw numeric)
6043RETURNS numeric AS $$
6044    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6045        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6046        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6047        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6048$$ LANGUAGE SQL IMMUTABLE;
6049CREATE OR REPLACE FUNCTION CAL_XXKP0630_EPSSGA(raw numeric)
6050RETURNS numeric AS $$
6051    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6052        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6053        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6054        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6055$$ LANGUAGE SQL IMMUTABLE;
6056CREATE OR REPLACE FUNCTION CAL_XXKP0630_EPSSGB(raw numeric)
6057RETURNS numeric AS $$
6058    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6059        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6060        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6061        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6062$$ LANGUAGE SQL IMMUTABLE;
6063CREATE OR REPLACE FUNCTION CAL_XXKP0442_EPSSGA(raw numeric)
6064RETURNS numeric AS $$
6065    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6066        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6067        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6068        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6069$$ LANGUAGE SQL IMMUTABLE;
6070CREATE OR REPLACE FUNCTION CAL_XXKP0442_EPSSGB(raw numeric)
6071RETURNS numeric AS $$
6072    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6073        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6074        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6075        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6076$$ LANGUAGE SQL IMMUTABLE;
6077CREATE OR REPLACE FUNCTION CAL_BHKP000C_EPSSGA(raw numeric)
6078RETURNS numeric AS $$
6079    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6080        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6081        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6082        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6083$$ LANGUAGE SQL IMMUTABLE;
6084CREATE OR REPLACE FUNCTION CAL_BHKP000C_EPSSGB(raw numeric)
6085RETURNS numeric AS $$
6086    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6087        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6088        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6089        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6090$$ LANGUAGE SQL IMMUTABLE;
6091CREATE OR REPLACE FUNCTION CAL_PPEK0200_EPSSGA(raw numeric)
6092RETURNS numeric AS $$
6093    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6094        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6095        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6096        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6097$$ LANGUAGE SQL IMMUTABLE;
6098CREATE OR REPLACE FUNCTION CAL_PPEK0200_EPSSGB(raw numeric)
6099RETURNS numeric AS $$
6100    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6101        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6102        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6103        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6104$$ LANGUAGE SQL IMMUTABLE;
6105CREATE OR REPLACE FUNCTION CAL_PPEK0111_EPSSGA(raw numeric)
6106RETURNS numeric AS $$
6107    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6108        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6109        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6110        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6111$$ LANGUAGE SQL IMMUTABLE;
6112CREATE OR REPLACE FUNCTION CAL_PPEK0111_EPSSGB(raw numeric)
6113RETURNS numeric AS $$
6114    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6115        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6116        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6117        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6118$$ LANGUAGE SQL IMMUTABLE;
6119CREATE OR REPLACE FUNCTION CAL_XXKP0387_EPSSGA(raw numeric)
6120RETURNS numeric AS $$
6121    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6122        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6123        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6124        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6125$$ LANGUAGE SQL IMMUTABLE;
6126CREATE OR REPLACE FUNCTION CAL_XXKP0387_EPSSGB(raw numeric)
6127RETURNS numeric AS $$
6128    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6129        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6130        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6131        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6132$$ LANGUAGE SQL IMMUTABLE;
6133CREATE OR REPLACE FUNCTION CAL_PPEK0401_EPSSGA(raw numeric)
6134RETURNS numeric AS $$
6135    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6136        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6137        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6138        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6139$$ LANGUAGE SQL IMMUTABLE;
6140CREATE OR REPLACE FUNCTION CAL_PPEK0401_EPSSGB(raw numeric)
6141RETURNS numeric AS $$
6142    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6143        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6144        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6145        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6146$$ LANGUAGE SQL IMMUTABLE;
6147CREATE OR REPLACE FUNCTION CAL_PPEK0238_EPSSGA(raw numeric)
6148RETURNS numeric AS $$
6149    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6150        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6151        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6152        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6153$$ LANGUAGE SQL IMMUTABLE;
6154CREATE OR REPLACE FUNCTION CAL_PPEK0238_EPSSGB(raw numeric)
6155RETURNS numeric AS $$
6156    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6157        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6158        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6159        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6160$$ LANGUAGE SQL IMMUTABLE;
6161CREATE OR REPLACE FUNCTION CAL_PPEK0605_EPSSGA(raw numeric)
6162RETURNS numeric AS $$
6163    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6164        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6165        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6166        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6167$$ LANGUAGE SQL IMMUTABLE;
6168CREATE OR REPLACE FUNCTION CAL_PPEK0605_EPSSGB(raw numeric)
6169RETURNS numeric AS $$
6170    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6171        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6172        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6173        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6174$$ LANGUAGE SQL IMMUTABLE;
6175CREATE OR REPLACE FUNCTION CAL_XXKP0466_EPSSGA(raw numeric)
6176RETURNS numeric AS $$
6177    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6178        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6179        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6180        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6181$$ LANGUAGE SQL IMMUTABLE;
6182CREATE OR REPLACE FUNCTION CAL_XXKP0466_EPSSGB(raw numeric)
6183RETURNS numeric AS $$
6184    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6185        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6186        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6187        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6188$$ LANGUAGE SQL IMMUTABLE;
6189CREATE OR REPLACE FUNCTION CAL_PPEK0408_EPSSGA(raw numeric)
6190RETURNS numeric AS $$
6191    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6192        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6193        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6194        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6195$$ LANGUAGE SQL IMMUTABLE;
6196CREATE OR REPLACE FUNCTION CAL_PPEK0408_EPSSGB(raw numeric)
6197RETURNS numeric AS $$
6198    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6199        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6200        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6201        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6202$$ LANGUAGE SQL IMMUTABLE;
6203CREATE OR REPLACE FUNCTION CAL_BHKE0009_EPSSGA(raw numeric)
6204RETURNS numeric AS $$
6205    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6206        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6207        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6208        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6209$$ LANGUAGE SQL IMMUTABLE;
6210CREATE OR REPLACE FUNCTION CAL_BHKE0009_EPSSGB(raw numeric)
6211RETURNS numeric AS $$
6212    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6213        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6214        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6215        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6216$$ LANGUAGE SQL IMMUTABLE;
6217CREATE OR REPLACE FUNCTION CAL_NAKP8015_EPSSGA(raw numeric)
6218RETURNS numeric AS $$
6219    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6220        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6221        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6222        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6223$$ LANGUAGE SQL IMMUTABLE;
6224CREATE OR REPLACE FUNCTION CAL_NAKP8015_EPSSGB(raw numeric)
6225RETURNS numeric AS $$
6226    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6227        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6228        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6229        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6230$$ LANGUAGE SQL IMMUTABLE;
6231CREATE OR REPLACE FUNCTION CAL_BHKP0007_EPSSGA(raw numeric)
6232RETURNS numeric AS $$
6233    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6234        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6235        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6236        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6237$$ LANGUAGE SQL IMMUTABLE;
6238CREATE OR REPLACE FUNCTION CAL_BHKP0007_EPSSGB(raw numeric)
6239RETURNS numeric AS $$
6240    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6241        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6242        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6243        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6244$$ LANGUAGE SQL IMMUTABLE;
6245CREATE OR REPLACE FUNCTION CAL_XXKP0538_EPSSGA(raw numeric)
6246RETURNS numeric AS $$
6247    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6248        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6249        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6250        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6251$$ LANGUAGE SQL IMMUTABLE;
6252CREATE OR REPLACE FUNCTION CAL_XXKP0538_EPSSGB(raw numeric)
6253RETURNS numeric AS $$
6254    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6255        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6256        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6257        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6258$$ LANGUAGE SQL IMMUTABLE;
6259CREATE OR REPLACE FUNCTION CAL_PPEK0521_EPSSGA(raw numeric)
6260RETURNS numeric AS $$
6261    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6262        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6263        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6264        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6265$$ LANGUAGE SQL IMMUTABLE;
6266CREATE OR REPLACE FUNCTION CAL_PPEK0521_EPSSGB(raw numeric)
6267RETURNS numeric AS $$
6268    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6269        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6270        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6271        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6272$$ LANGUAGE SQL IMMUTABLE;
6273CREATE OR REPLACE FUNCTION CAL_PPEK0120_EPSSGA(raw numeric)
6274RETURNS numeric AS $$
6275    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6276        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6277        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6278        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6279$$ LANGUAGE SQL IMMUTABLE;
6280CREATE OR REPLACE FUNCTION CAL_PPEK0120_EPSSGB(raw numeric)
6281RETURNS numeric AS $$
6282    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6283        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6284        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6285        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6286$$ LANGUAGE SQL IMMUTABLE;
6287CREATE OR REPLACE FUNCTION CAL_PPEK0685_EPSSGA(raw numeric)
6288RETURNS numeric AS $$
6289    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6290        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6291        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6292        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6293$$ LANGUAGE SQL IMMUTABLE;
6294CREATE OR REPLACE FUNCTION CAL_PPEK0685_EPSSGB(raw numeric)
6295RETURNS numeric AS $$
6296    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6297        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6298        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6299        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6300$$ LANGUAGE SQL IMMUTABLE;
6301CREATE OR REPLACE FUNCTION CAL_PPEK0141_EPSSGA(raw numeric)
6302RETURNS numeric AS $$
6303    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6304        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6305        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6306        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6307$$ LANGUAGE SQL IMMUTABLE;
6308CREATE OR REPLACE FUNCTION CAL_PPEK0141_EPSSGB(raw numeric)
6309RETURNS numeric AS $$
6310    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6311        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6312        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6313        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6314$$ LANGUAGE SQL IMMUTABLE;
6315CREATE OR REPLACE FUNCTION CAL_XXKP0591_EPSSGA(raw numeric)
6316RETURNS numeric AS $$
6317    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6318        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6319        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6320        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6321$$ LANGUAGE SQL IMMUTABLE;
6322CREATE OR REPLACE FUNCTION CAL_XXKP0591_EPSSGB(raw numeric)
6323RETURNS numeric AS $$
6324    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6325        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6326        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6327        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6328$$ LANGUAGE SQL IMMUTABLE;
6329CREATE OR REPLACE FUNCTION CAL_PPEK0163_EPSSGA(raw numeric)
6330RETURNS numeric AS $$
6331    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6332        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6333        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6334        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6335$$ LANGUAGE SQL IMMUTABLE;
6336CREATE OR REPLACE FUNCTION CAL_PPEK0163_EPSSGB(raw numeric)
6337RETURNS numeric AS $$
6338    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6339        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6340        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6341        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6342$$ LANGUAGE SQL IMMUTABLE;
6343CREATE OR REPLACE FUNCTION CAL_PPEK0703_EPSSGA(raw numeric)
6344RETURNS numeric AS $$
6345    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6346        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6347        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6348        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6349$$ LANGUAGE SQL IMMUTABLE;
6350CREATE OR REPLACE FUNCTION CAL_PPEK0703_EPSSGB(raw numeric)
6351RETURNS numeric AS $$
6352    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6353        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6354        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6355        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6356$$ LANGUAGE SQL IMMUTABLE;
6357CREATE OR REPLACE FUNCTION CAL_RUEK9005_EPSSGA(raw numeric)
6358RETURNS numeric AS $$
6359    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6360        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6361        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6362        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6363$$ LANGUAGE SQL IMMUTABLE;
6364CREATE OR REPLACE FUNCTION CAL_RUEK9005_EPSSGB(raw numeric)
6365RETURNS numeric AS $$
6366    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6367        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6368        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6369        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6370$$ LANGUAGE SQL IMMUTABLE;
6371CREATE OR REPLACE FUNCTION CAL_RUEK8021_EPSSGA(raw numeric)
6372RETURNS numeric AS $$
6373    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6374        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6375        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6376        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6377$$ LANGUAGE SQL IMMUTABLE;
6378CREATE OR REPLACE FUNCTION CAL_RUEK8021_EPSSGB(raw numeric)
6379RETURNS numeric AS $$
6380    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6381        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6382        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6383        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6384$$ LANGUAGE SQL IMMUTABLE;
6385CREATE OR REPLACE FUNCTION CAL_RKEK1021_EPSSGA(raw numeric)
6386RETURNS numeric AS $$
6387    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6388        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6389        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6390        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6391$$ LANGUAGE SQL IMMUTABLE;
6392CREATE OR REPLACE FUNCTION CAL_RKEK1021_EPSSGB(raw numeric)
6393RETURNS numeric AS $$
6394    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6395        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6396        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6397        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6398$$ LANGUAGE SQL IMMUTABLE;
6399CREATE OR REPLACE FUNCTION CAL_PPEK0214_EPSSGA(raw numeric)
6400RETURNS numeric AS $$
6401    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6402        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6403        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6404        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6405$$ LANGUAGE SQL IMMUTABLE;
6406CREATE OR REPLACE FUNCTION CAL_PPEK0214_EPSSGB(raw numeric)
6407RETURNS numeric AS $$
6408    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6409        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6410        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6411        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6412$$ LANGUAGE SQL IMMUTABLE;
6413CREATE OR REPLACE FUNCTION CAL_RUEK9015_EPSSGA(raw numeric)
6414RETURNS numeric AS $$
6415    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6416        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6417        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6418        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6419$$ LANGUAGE SQL IMMUTABLE;
6420CREATE OR REPLACE FUNCTION CAL_RUEK9015_EPSSGB(raw numeric)
6421RETURNS numeric AS $$
6422    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6423        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6424        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6425        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6426$$ LANGUAGE SQL IMMUTABLE;
6427CREATE OR REPLACE FUNCTION CAL_WCK00033_EPSSGA(raw numeric)
6428RETURNS numeric AS $$
6429    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6430        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6431        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6432        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6433$$ LANGUAGE SQL IMMUTABLE;
6434CREATE OR REPLACE FUNCTION CAL_WCK00033_EPSSGB(raw numeric)
6435RETURNS numeric AS $$
6436    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6437        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6438        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6439        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6440$$ LANGUAGE SQL IMMUTABLE;
6441CREATE OR REPLACE FUNCTION CAL_XXKP0638_EPSSGA(raw numeric)
6442RETURNS numeric AS $$
6443    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6444        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6445        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6446        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6447$$ LANGUAGE SQL IMMUTABLE;
6448CREATE OR REPLACE FUNCTION CAL_XXKP0638_EPSSGB(raw numeric)
6449RETURNS numeric AS $$
6450    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6451        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6452        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6453        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6454$$ LANGUAGE SQL IMMUTABLE;
6455CREATE OR REPLACE FUNCTION CAL_APKT9003_EPSSGA(raw numeric)
6456RETURNS numeric AS $$
6457    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6458        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6459        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6460        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6461$$ LANGUAGE SQL IMMUTABLE;
6462CREATE OR REPLACE FUNCTION CAL_APKT9003_EPSSGB(raw numeric)
6463RETURNS numeric AS $$
6464    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6465        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6466        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6467        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6468$$ LANGUAGE SQL IMMUTABLE;
6469CREATE OR REPLACE FUNCTION CAL_PPEK0705_EPSSGA(raw numeric)
6470RETURNS numeric AS $$
6471    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6472        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6473        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6474        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6475$$ LANGUAGE SQL IMMUTABLE;
6476CREATE OR REPLACE FUNCTION CAL_PPEK0705_EPSSGB(raw numeric)
6477RETURNS numeric AS $$
6478    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6479        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6480        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6481        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6482$$ LANGUAGE SQL IMMUTABLE;
6483CREATE OR REPLACE FUNCTION CAL_PPEK0649_EPSSGA(raw numeric)
6484RETURNS numeric AS $$
6485    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6486        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6487        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6488        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6489$$ LANGUAGE SQL IMMUTABLE;
6490CREATE OR REPLACE FUNCTION CAL_PPEK0649_EPSSGB(raw numeric)
6491RETURNS numeric AS $$
6492    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6493        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6494        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6495        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6496$$ LANGUAGE SQL IMMUTABLE;
6497CREATE OR REPLACE FUNCTION CAL_WCK00026_EPSSGA(raw numeric)
6498RETURNS numeric AS $$
6499    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6500        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6501        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6502        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6503$$ LANGUAGE SQL IMMUTABLE;
6504CREATE OR REPLACE FUNCTION CAL_WCK00026_EPSSGB(raw numeric)
6505RETURNS numeric AS $$
6506    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6507        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6508        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6509        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6510$$ LANGUAGE SQL IMMUTABLE;
6511CREATE OR REPLACE FUNCTION CAL_BHKE0014_EPSSGA(raw numeric)
6512RETURNS numeric AS $$
6513    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6514        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6515        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6516        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6517$$ LANGUAGE SQL IMMUTABLE;
6518CREATE OR REPLACE FUNCTION CAL_BHKE0014_EPSSGB(raw numeric)
6519RETURNS numeric AS $$
6520    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6521        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6522        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6523        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6524$$ LANGUAGE SQL IMMUTABLE;
6525CREATE OR REPLACE FUNCTION CAL_PPEK0619_EPSSGA(raw numeric)
6526RETURNS numeric AS $$
6527    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6528        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6529        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6530        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6531$$ LANGUAGE SQL IMMUTABLE;
6532CREATE OR REPLACE FUNCTION CAL_PPEK0619_EPSSGB(raw numeric)
6533RETURNS numeric AS $$
6534    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6535        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6536        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6537        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6538$$ LANGUAGE SQL IMMUTABLE;
6539CREATE OR REPLACE FUNCTION CAL_BHKE0015_EPSSGA(raw numeric)
6540RETURNS numeric AS $$
6541    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6542        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6543        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6544        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6545$$ LANGUAGE SQL IMMUTABLE;
6546CREATE OR REPLACE FUNCTION CAL_BHKE0015_EPSSGB(raw numeric)
6547RETURNS numeric AS $$
6548    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6549        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6550        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6551        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6552$$ LANGUAGE SQL IMMUTABLE;
6553CREATE OR REPLACE FUNCTION CAL_PPEK0113_EPSSGA(raw numeric)
6554RETURNS numeric AS $$
6555    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6556        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6557        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6558        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6559$$ LANGUAGE SQL IMMUTABLE;
6560CREATE OR REPLACE FUNCTION CAL_PPEK0113_EPSSGB(raw numeric)
6561RETURNS numeric AS $$
6562    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6563        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6564        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6565        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6566$$ LANGUAGE SQL IMMUTABLE;
6567CREATE OR REPLACE FUNCTION CAL_RUEK8029_EPSSGA(raw numeric)
6568RETURNS numeric AS $$
6569    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6570        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6571        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6572        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6573$$ LANGUAGE SQL IMMUTABLE;
6574CREATE OR REPLACE FUNCTION CAL_RUEK8029_EPSSGB(raw numeric)
6575RETURNS numeric AS $$
6576    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6577        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6578        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6579        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6580$$ LANGUAGE SQL IMMUTABLE;
6581CREATE OR REPLACE FUNCTION CAL_XXKP0526_EPSSGA(raw numeric)
6582RETURNS numeric AS $$
6583    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6584        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6585        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6586        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6587$$ LANGUAGE SQL IMMUTABLE;
6588CREATE OR REPLACE FUNCTION CAL_XXKP0526_EPSSGB(raw numeric)
6589RETURNS numeric AS $$
6590    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6591        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6592        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6593        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6594$$ LANGUAGE SQL IMMUTABLE;
6595CREATE OR REPLACE FUNCTION CAL_PFEKP003_EPSSGA(raw numeric)
6596RETURNS numeric AS $$
6597    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6598        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6599        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6600        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6601$$ LANGUAGE SQL IMMUTABLE;
6602CREATE OR REPLACE FUNCTION CAL_PFEKP003_EPSSGB(raw numeric)
6603RETURNS numeric AS $$
6604    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6605        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6606        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6607        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6608$$ LANGUAGE SQL IMMUTABLE;
6609CREATE OR REPLACE FUNCTION CAL_BHKP000A_EPSSGA(raw numeric)
6610RETURNS numeric AS $$
6611    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6612        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6613        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6614        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6615$$ LANGUAGE SQL IMMUTABLE;
6616CREATE OR REPLACE FUNCTION CAL_BHKP000A_EPSSGB(raw numeric)
6617RETURNS numeric AS $$
6618    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6619        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6620        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6621        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6622$$ LANGUAGE SQL IMMUTABLE;
6623CREATE OR REPLACE FUNCTION CAL_BHKE0040_EPSSGA(raw numeric)
6624RETURNS numeric AS $$
6625    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6626        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6627        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6628        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6629$$ LANGUAGE SQL IMMUTABLE;
6630CREATE OR REPLACE FUNCTION CAL_BHKE0040_EPSSGB(raw numeric)
6631RETURNS numeric AS $$
6632    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6633        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6634        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6635        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6636$$ LANGUAGE SQL IMMUTABLE;
6637CREATE OR REPLACE FUNCTION CAL_PPEK0662_EPSSGA(raw numeric)
6638RETURNS numeric AS $$
6639    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6640        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6641        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6642        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6643$$ LANGUAGE SQL IMMUTABLE;
6644CREATE OR REPLACE FUNCTION CAL_PPEK0662_EPSSGB(raw numeric)
6645RETURNS numeric AS $$
6646    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6647        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6648        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6649        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6650$$ LANGUAGE SQL IMMUTABLE;
6651CREATE OR REPLACE FUNCTION CAL_PPEK0199_EPSSGA(raw numeric)
6652RETURNS numeric AS $$
6653    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6654        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6655        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6656        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6657$$ LANGUAGE SQL IMMUTABLE;
6658CREATE OR REPLACE FUNCTION CAL_PPEK0199_EPSSGB(raw numeric)
6659RETURNS numeric AS $$
6660    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6661        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6662        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6663        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6664$$ LANGUAGE SQL IMMUTABLE;
6665CREATE OR REPLACE FUNCTION CAL_XXKP0588_EPSSGA(raw numeric)
6666RETURNS numeric AS $$
6667    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6668        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6669        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6670        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6671$$ LANGUAGE SQL IMMUTABLE;
6672CREATE OR REPLACE FUNCTION CAL_XXKP0588_EPSSGB(raw numeric)
6673RETURNS numeric AS $$
6674    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6675        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6676        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6677        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6678$$ LANGUAGE SQL IMMUTABLE;
6679CREATE OR REPLACE FUNCTION CAL_PPEK0201_EPSSGA(raw numeric)
6680RETURNS numeric AS $$
6681    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6682        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6683        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6684        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6685$$ LANGUAGE SQL IMMUTABLE;
6686CREATE OR REPLACE FUNCTION CAL_PPEK0201_EPSSGB(raw numeric)
6687RETURNS numeric AS $$
6688    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6689        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6690        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6691        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6692$$ LANGUAGE SQL IMMUTABLE;
6693CREATE OR REPLACE FUNCTION CAL_XXKP0478_EPSSGA(raw numeric)
6694RETURNS numeric AS $$
6695    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6696        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6697        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6698        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6699$$ LANGUAGE SQL IMMUTABLE;
6700CREATE OR REPLACE FUNCTION CAL_XXKP0478_EPSSGB(raw numeric)
6701RETURNS numeric AS $$
6702    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6703        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6704        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6705        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6706$$ LANGUAGE SQL IMMUTABLE;
6707CREATE OR REPLACE FUNCTION CAL_PPEK0243_EPSSGA(raw numeric)
6708RETURNS numeric AS $$
6709    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6710        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6711        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6712        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6713$$ LANGUAGE SQL IMMUTABLE;
6714CREATE OR REPLACE FUNCTION CAL_PPEK0243_EPSSGB(raw numeric)
6715RETURNS numeric AS $$
6716    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6717        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6718        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6719        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6720$$ LANGUAGE SQL IMMUTABLE;
6721CREATE OR REPLACE FUNCTION CAL_NAKP8005_EPSSGA(raw numeric)
6722RETURNS numeric AS $$
6723    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6724        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6725        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6726        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6727$$ LANGUAGE SQL IMMUTABLE;
6728CREATE OR REPLACE FUNCTION CAL_NAKP8005_EPSSGB(raw numeric)
6729RETURNS numeric AS $$
6730    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6731        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6732        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6733        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6734$$ LANGUAGE SQL IMMUTABLE;
6735CREATE OR REPLACE FUNCTION CAL_PPEK0124_EPSSGA(raw numeric)
6736RETURNS numeric AS $$
6737    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6738        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6739        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6740        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6741$$ LANGUAGE SQL IMMUTABLE;
6742CREATE OR REPLACE FUNCTION CAL_PPEK0124_EPSSGB(raw numeric)
6743RETURNS numeric AS $$
6744    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6745        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6746        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6747        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6748$$ LANGUAGE SQL IMMUTABLE;
6749CREATE OR REPLACE FUNCTION CAL_XXKP0695_EPSSGA(raw numeric)
6750RETURNS numeric AS $$
6751    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6752        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6753        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6754        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6755$$ LANGUAGE SQL IMMUTABLE;
6756CREATE OR REPLACE FUNCTION CAL_XXKP0695_EPSSGB(raw numeric)
6757RETURNS numeric AS $$
6758    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6759        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6760        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6761        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6762$$ LANGUAGE SQL IMMUTABLE;
6763CREATE OR REPLACE FUNCTION CAL_XXKP0691_EPSSGA(raw numeric)
6764RETURNS numeric AS $$
6765    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6766        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6767        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6768        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6769$$ LANGUAGE SQL IMMUTABLE;
6770CREATE OR REPLACE FUNCTION CAL_XXKP0691_EPSSGB(raw numeric)
6771RETURNS numeric AS $$
6772    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6773        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6774        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6775        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6776$$ LANGUAGE SQL IMMUTABLE;
6777CREATE OR REPLACE FUNCTION CAL_XXKP0599_EPSSGA(raw numeric)
6778RETURNS numeric AS $$
6779    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6780        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6781        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6782        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6783$$ LANGUAGE SQL IMMUTABLE;
6784CREATE OR REPLACE FUNCTION CAL_XXKP0599_EPSSGB(raw numeric)
6785RETURNS numeric AS $$
6786    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6787        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6788        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6789        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6790$$ LANGUAGE SQL IMMUTABLE;
6791CREATE OR REPLACE FUNCTION CAL_XXKP0555_EPSSGA(raw numeric)
6792RETURNS numeric AS $$
6793    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6794        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6795        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6796        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6797$$ LANGUAGE SQL IMMUTABLE;
6798CREATE OR REPLACE FUNCTION CAL_XXKP0555_EPSSGB(raw numeric)
6799RETURNS numeric AS $$
6800    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6801        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6802        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6803        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6804$$ LANGUAGE SQL IMMUTABLE;
6805CREATE OR REPLACE FUNCTION CAL_BHKE0044_EPSSGA(raw numeric)
6806RETURNS numeric AS $$
6807    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6808        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6809        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6810        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6811$$ LANGUAGE SQL IMMUTABLE;
6812CREATE OR REPLACE FUNCTION CAL_BHKE0044_EPSSGB(raw numeric)
6813RETURNS numeric AS $$
6814    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6815        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6816        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6817        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6818$$ LANGUAGE SQL IMMUTABLE;
6819CREATE OR REPLACE FUNCTION CAL_WCK00028_EPSSGA(raw numeric)
6820RETURNS numeric AS $$
6821    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6822        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6823        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6824        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6825$$ LANGUAGE SQL IMMUTABLE;
6826CREATE OR REPLACE FUNCTION CAL_WCK00028_EPSSGB(raw numeric)
6827RETURNS numeric AS $$
6828    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6829        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6830        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6831        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6832$$ LANGUAGE SQL IMMUTABLE;
6833CREATE OR REPLACE FUNCTION CAL_NAKP8509_EPSSGA(raw numeric)
6834RETURNS numeric AS $$
6835    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6836        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6837        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6838        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6839$$ LANGUAGE SQL IMMUTABLE;
6840CREATE OR REPLACE FUNCTION CAL_NAKP8509_EPSSGB(raw numeric)
6841RETURNS numeric AS $$
6842    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6843        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6844        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6845        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6846$$ LANGUAGE SQL IMMUTABLE;
6847CREATE OR REPLACE FUNCTION CAL_RKEK1037_EPSSGA(raw numeric)
6848RETURNS numeric AS $$
6849    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6850        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6851        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6852        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6853$$ LANGUAGE SQL IMMUTABLE;
6854CREATE OR REPLACE FUNCTION CAL_RKEK1037_EPSSGB(raw numeric)
6855RETURNS numeric AS $$
6856    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6857        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6858        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6859        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6860$$ LANGUAGE SQL IMMUTABLE;
6861CREATE OR REPLACE FUNCTION CAL_NAKP8025_EPSSGA(raw numeric)
6862RETURNS numeric AS $$
6863    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6864        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6865        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6866        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6867$$ LANGUAGE SQL IMMUTABLE;
6868CREATE OR REPLACE FUNCTION CAL_NAKP8025_EPSSGB(raw numeric)
6869RETURNS numeric AS $$
6870    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6871        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6872        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6873        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6874$$ LANGUAGE SQL IMMUTABLE;
6875CREATE OR REPLACE FUNCTION CAL_PPEK2056_EPSSGA(raw numeric)
6876RETURNS numeric AS $$
6877    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6878        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6879        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6880        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6881$$ LANGUAGE SQL IMMUTABLE;
6882CREATE OR REPLACE FUNCTION CAL_PPEK2056_EPSSGB(raw numeric)
6883RETURNS numeric AS $$
6884    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6885        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6886        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6887        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6888$$ LANGUAGE SQL IMMUTABLE;
6889CREATE OR REPLACE FUNCTION CAL_XXKP0502_EPSSGA(raw numeric)
6890RETURNS numeric AS $$
6891    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6892        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6893        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6894        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6895$$ LANGUAGE SQL IMMUTABLE;
6896CREATE OR REPLACE FUNCTION CAL_XXKP0502_EPSSGB(raw numeric)
6897RETURNS numeric AS $$
6898    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6899        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6900        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6901        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6902$$ LANGUAGE SQL IMMUTABLE;
6903CREATE OR REPLACE FUNCTION CAL_PPEK0407_EPSSGA(raw numeric)
6904RETURNS numeric AS $$
6905    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6906        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6907        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6908        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6909$$ LANGUAGE SQL IMMUTABLE;
6910CREATE OR REPLACE FUNCTION CAL_PPEK0407_EPSSGB(raw numeric)
6911RETURNS numeric AS $$
6912    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6913        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6914        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6915        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6916$$ LANGUAGE SQL IMMUTABLE;
6917CREATE OR REPLACE FUNCTION CAL_BHKP000B_EPSSGA(raw numeric)
6918RETURNS numeric AS $$
6919    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6920        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6921        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6922        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6923$$ LANGUAGE SQL IMMUTABLE;
6924CREATE OR REPLACE FUNCTION CAL_BHKP000B_EPSSGB(raw numeric)
6925RETURNS numeric AS $$
6926    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6927        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6928        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6929        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6930$$ LANGUAGE SQL IMMUTABLE;
6931CREATE OR REPLACE FUNCTION CAL_PPEK0103_EPSSGA(raw numeric)
6932RETURNS numeric AS $$
6933    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6934        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6935        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6936        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6937$$ LANGUAGE SQL IMMUTABLE;
6938CREATE OR REPLACE FUNCTION CAL_PPEK0103_EPSSGB(raw numeric)
6939RETURNS numeric AS $$
6940    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6941        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6942        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6943        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6944$$ LANGUAGE SQL IMMUTABLE;
6945CREATE OR REPLACE FUNCTION CAL_XXKP5004_EPSSGA(raw numeric)
6946RETURNS numeric AS $$
6947    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6948        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6949        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6950        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6951$$ LANGUAGE SQL IMMUTABLE;
6952CREATE OR REPLACE FUNCTION CAL_XXKP5004_EPSSGB(raw numeric)
6953RETURNS numeric AS $$
6954    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6955        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6956        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6957        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6958$$ LANGUAGE SQL IMMUTABLE;
6959CREATE OR REPLACE FUNCTION CAL_XXKP0559_EPSSGA(raw numeric)
6960RETURNS numeric AS $$
6961    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6962        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6963        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6964        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6965$$ LANGUAGE SQL IMMUTABLE;
6966CREATE OR REPLACE FUNCTION CAL_XXKP0559_EPSSGB(raw numeric)
6967RETURNS numeric AS $$
6968    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6969        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6970        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6971        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6972$$ LANGUAGE SQL IMMUTABLE;
6973CREATE OR REPLACE FUNCTION CAL_PPEK0182_EPSSGA(raw numeric)
6974RETURNS numeric AS $$
6975    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6976        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6977        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6978        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6979$$ LANGUAGE SQL IMMUTABLE;
6980CREATE OR REPLACE FUNCTION CAL_PPEK0182_EPSSGB(raw numeric)
6981RETURNS numeric AS $$
6982    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6983        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6984        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6985        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6986$$ LANGUAGE SQL IMMUTABLE;
6987CREATE OR REPLACE FUNCTION CAL_NAKP8516_EPSSGA(raw numeric)
6988RETURNS numeric AS $$
6989    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6990        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6991        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6992        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
6993$$ LANGUAGE SQL IMMUTABLE;
6994CREATE OR REPLACE FUNCTION CAL_NAKP8516_EPSSGB(raw numeric)
6995RETURNS numeric AS $$
6996    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
6997        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
6998        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
6999        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7000$$ LANGUAGE SQL IMMUTABLE;
7001CREATE OR REPLACE FUNCTION CAL_BHKP0021_EPSSGA(raw numeric)
7002RETURNS numeric AS $$
7003    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7004        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7005        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7006        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7007$$ LANGUAGE SQL IMMUTABLE;
7008CREATE OR REPLACE FUNCTION CAL_BHKP0021_EPSSGB(raw numeric)
7009RETURNS numeric AS $$
7010    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7011        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7012        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7013        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7014$$ LANGUAGE SQL IMMUTABLE;
7015CREATE OR REPLACE FUNCTION CAL_RUEK9020_EPSSGA(raw numeric)
7016RETURNS numeric AS $$
7017    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7018        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7019        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7020        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7021$$ LANGUAGE SQL IMMUTABLE;
7022CREATE OR REPLACE FUNCTION CAL_RUEK9020_EPSSGB(raw numeric)
7023RETURNS numeric AS $$
7024    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7025        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7026        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7027        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7028$$ LANGUAGE SQL IMMUTABLE;
7029CREATE OR REPLACE FUNCTION CAL_BHKE0035_EPSSGA(raw numeric)
7030RETURNS numeric AS $$
7031    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7032        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7033        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7034        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7035$$ LANGUAGE SQL IMMUTABLE;
7036CREATE OR REPLACE FUNCTION CAL_BHKE0035_EPSSGB(raw numeric)
7037RETURNS numeric AS $$
7038    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7039        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7040        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7041        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7042$$ LANGUAGE SQL IMMUTABLE;
7043CREATE OR REPLACE FUNCTION CAL_XXKP0690_EPSSGA(raw numeric)
7044RETURNS numeric AS $$
7045    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7046        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7047        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7048        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7049$$ LANGUAGE SQL IMMUTABLE;
7050CREATE OR REPLACE FUNCTION CAL_XXKP0690_EPSSGB(raw numeric)
7051RETURNS numeric AS $$
7052    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7053        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7054        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7055        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7056$$ LANGUAGE SQL IMMUTABLE;
7057CREATE OR REPLACE FUNCTION CAL_NAKP802B_EPSSGA(raw numeric)
7058RETURNS numeric AS $$
7059    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7060        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7061        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7062        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7063$$ LANGUAGE SQL IMMUTABLE;
7064CREATE OR REPLACE FUNCTION CAL_NAKP802B_EPSSGB(raw numeric)
7065RETURNS numeric AS $$
7066    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7067        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7068        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7069        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7070$$ LANGUAGE SQL IMMUTABLE;
7071CREATE OR REPLACE FUNCTION CAL_PPEK0157_EPSSGA(raw numeric)
7072RETURNS numeric AS $$
7073    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7074        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7075        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7076        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7077$$ LANGUAGE SQL IMMUTABLE;
7078CREATE OR REPLACE FUNCTION CAL_PPEK0157_EPSSGB(raw numeric)
7079RETURNS numeric AS $$
7080    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7081        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7082        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7083        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7084$$ LANGUAGE SQL IMMUTABLE;
7085CREATE OR REPLACE FUNCTION CAL_PPEK0110_EPSSGA(raw numeric)
7086RETURNS numeric AS $$
7087    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7088        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7089        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7090        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7091$$ LANGUAGE SQL IMMUTABLE;
7092CREATE OR REPLACE FUNCTION CAL_PPEK0110_EPSSGB(raw numeric)
7093RETURNS numeric AS $$
7094    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7095        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7096        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7097        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7098$$ LANGUAGE SQL IMMUTABLE;
7099CREATE OR REPLACE FUNCTION CAL_BHKE0036_EPSSGA(raw numeric)
7100RETURNS numeric AS $$
7101    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7102        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7103        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7104        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7105$$ LANGUAGE SQL IMMUTABLE;
7106CREATE OR REPLACE FUNCTION CAL_BHKE0036_EPSSGB(raw numeric)
7107RETURNS numeric AS $$
7108    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7109        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7110        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7111        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7112$$ LANGUAGE SQL IMMUTABLE;
7113CREATE OR REPLACE FUNCTION CAL_PPEK0177_EPSSGA(raw numeric)
7114RETURNS numeric AS $$
7115    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7116        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7117        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7118        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7119$$ LANGUAGE SQL IMMUTABLE;
7120CREATE OR REPLACE FUNCTION CAL_PPEK0177_EPSSGB(raw numeric)
7121RETURNS numeric AS $$
7122    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7123        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7124        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7125        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7126$$ LANGUAGE SQL IMMUTABLE;
7127CREATE OR REPLACE FUNCTION CAL_PPEK0223_EPSSGA(raw numeric)
7128RETURNS numeric AS $$
7129    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7130        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7131        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7132        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7133$$ LANGUAGE SQL IMMUTABLE;
7134CREATE OR REPLACE FUNCTION CAL_PPEK0223_EPSSGB(raw numeric)
7135RETURNS numeric AS $$
7136    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7137        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7138        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7139        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7140$$ LANGUAGE SQL IMMUTABLE;
7141CREATE OR REPLACE FUNCTION CAL_XXKP0681_EPSSGA(raw numeric)
7142RETURNS numeric AS $$
7143    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7144        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7145        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7146        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7147$$ LANGUAGE SQL IMMUTABLE;
7148CREATE OR REPLACE FUNCTION CAL_XXKP0681_EPSSGB(raw numeric)
7149RETURNS numeric AS $$
7150    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7151        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7152        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7153        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7154$$ LANGUAGE SQL IMMUTABLE;
7155CREATE OR REPLACE FUNCTION CAL_RKEK0038_EPSSGA(raw numeric)
7156RETURNS numeric AS $$
7157    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7158        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7159        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7160        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7161$$ LANGUAGE SQL IMMUTABLE;
7162CREATE OR REPLACE FUNCTION CAL_RKEK0038_EPSSGB(raw numeric)
7163RETURNS numeric AS $$
7164    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7165        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7166        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7167        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7168$$ LANGUAGE SQL IMMUTABLE;
7169CREATE OR REPLACE FUNCTION CAL_RKEK1045_EPSSGA(raw numeric)
7170RETURNS numeric AS $$
7171    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7172        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7173        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7174        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7175$$ LANGUAGE SQL IMMUTABLE;
7176CREATE OR REPLACE FUNCTION CAL_RKEK1045_EPSSGB(raw numeric)
7177RETURNS numeric AS $$
7178    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7179        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7180        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7181        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7182$$ LANGUAGE SQL IMMUTABLE;
7183CREATE OR REPLACE FUNCTION CAL_WCK00029_EPSSGA(raw numeric)
7184RETURNS numeric AS $$
7185    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7186        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7187        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7188        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7189$$ LANGUAGE SQL IMMUTABLE;
7190CREATE OR REPLACE FUNCTION CAL_WCK00029_EPSSGB(raw numeric)
7191RETURNS numeric AS $$
7192    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7193        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7194        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7195        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7196$$ LANGUAGE SQL IMMUTABLE;
7197CREATE OR REPLACE FUNCTION CAL_NAKP801E_EPSSGA(raw numeric)
7198RETURNS numeric AS $$
7199    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7200        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7201        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7202        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7203$$ LANGUAGE SQL IMMUTABLE;
7204CREATE OR REPLACE FUNCTION CAL_NAKP801E_EPSSGB(raw numeric)
7205RETURNS numeric AS $$
7206    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7207        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7208        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7209        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7210$$ LANGUAGE SQL IMMUTABLE;
7211CREATE OR REPLACE FUNCTION CAL_BHKP0002_EPSSGA(raw numeric)
7212RETURNS numeric AS $$
7213    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7214        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7215        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7216        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7217$$ LANGUAGE SQL IMMUTABLE;
7218CREATE OR REPLACE FUNCTION CAL_BHKP0002_EPSSGB(raw numeric)
7219RETURNS numeric AS $$
7220    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7221        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7222        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7223        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7224$$ LANGUAGE SQL IMMUTABLE;
7225CREATE OR REPLACE FUNCTION CAL_PPEK0524_EPSSGA(raw numeric)
7226RETURNS numeric AS $$
7227    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7228        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7229        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7230        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7231$$ LANGUAGE SQL IMMUTABLE;
7232CREATE OR REPLACE FUNCTION CAL_PPEK0524_EPSSGB(raw numeric)
7233RETURNS numeric AS $$
7234    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7235        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7236        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7237        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7238$$ LANGUAGE SQL IMMUTABLE;
7239CREATE OR REPLACE FUNCTION CAL_PPEK0105_EPSSGA(raw numeric)
7240RETURNS numeric AS $$
7241    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7242        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7243        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7244        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7245$$ LANGUAGE SQL IMMUTABLE;
7246CREATE OR REPLACE FUNCTION CAL_PPEK0105_EPSSGB(raw numeric)
7247RETURNS numeric AS $$
7248    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7249        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7250        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7251        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7252$$ LANGUAGE SQL IMMUTABLE;
7253CREATE OR REPLACE FUNCTION CAL_RKEK1028_EPSSGA(raw numeric)
7254RETURNS numeric AS $$
7255    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7256        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7257        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7258        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7259$$ LANGUAGE SQL IMMUTABLE;
7260CREATE OR REPLACE FUNCTION CAL_RKEK1028_EPSSGB(raw numeric)
7261RETURNS numeric AS $$
7262    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7263        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7264        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7265        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7266$$ LANGUAGE SQL IMMUTABLE;
7267CREATE OR REPLACE FUNCTION CAL_PPEK0131_EPSSGA(raw numeric)
7268RETURNS numeric AS $$
7269    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7270        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7271        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7272        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7273$$ LANGUAGE SQL IMMUTABLE;
7274CREATE OR REPLACE FUNCTION CAL_PPEK0131_EPSSGB(raw numeric)
7275RETURNS numeric AS $$
7276    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7277        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7278        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7279        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7280$$ LANGUAGE SQL IMMUTABLE;
7281CREATE OR REPLACE FUNCTION CAL_RUEK8035_EPSSGA(raw numeric)
7282RETURNS numeric AS $$
7283    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7284        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7285        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7286        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7287$$ LANGUAGE SQL IMMUTABLE;
7288CREATE OR REPLACE FUNCTION CAL_RUEK8035_EPSSGB(raw numeric)
7289RETURNS numeric AS $$
7290    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7291        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7292        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7293        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7294$$ LANGUAGE SQL IMMUTABLE;
7295CREATE OR REPLACE FUNCTION CAL_BHKP0022_EPSSGA(raw numeric)
7296RETURNS numeric AS $$
7297    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7298        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7299        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7300        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7301$$ LANGUAGE SQL IMMUTABLE;
7302CREATE OR REPLACE FUNCTION CAL_BHKP0022_EPSSGB(raw numeric)
7303RETURNS numeric AS $$
7304    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7305        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7306        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7307        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7308$$ LANGUAGE SQL IMMUTABLE;
7309CREATE OR REPLACE FUNCTION CAL_PPEK0109_EPSSGA(raw numeric)
7310RETURNS numeric AS $$
7311    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7312        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7313        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7314        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7315$$ LANGUAGE SQL IMMUTABLE;
7316CREATE OR REPLACE FUNCTION CAL_PPEK0109_EPSSGB(raw numeric)
7317RETURNS numeric AS $$
7318    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7319        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7320        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7321        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7322$$ LANGUAGE SQL IMMUTABLE;
7323CREATE OR REPLACE FUNCTION CAL_BHKE0017_EPSSGA(raw numeric)
7324RETURNS numeric AS $$
7325    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7326        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7327        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7328        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7329$$ LANGUAGE SQL IMMUTABLE;
7330CREATE OR REPLACE FUNCTION CAL_BHKE0017_EPSSGB(raw numeric)
7331RETURNS numeric AS $$
7332    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7333        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7334        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7335        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7336$$ LANGUAGE SQL IMMUTABLE;
7337CREATE OR REPLACE FUNCTION CAL_NAKP8528_EPSSGA(raw numeric)
7338RETURNS numeric AS $$
7339    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7340        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7341        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7342        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7343$$ LANGUAGE SQL IMMUTABLE;
7344CREATE OR REPLACE FUNCTION CAL_NAKP8528_EPSSGB(raw numeric)
7345RETURNS numeric AS $$
7346    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7347        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7348        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7349        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7350$$ LANGUAGE SQL IMMUTABLE;
7351CREATE OR REPLACE FUNCTION CAL_RKEK1027_EPSSGA(raw numeric)
7352RETURNS numeric AS $$
7353    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7354        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7355        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7356        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7357$$ LANGUAGE SQL IMMUTABLE;
7358CREATE OR REPLACE FUNCTION CAL_RKEK1027_EPSSGB(raw numeric)
7359RETURNS numeric AS $$
7360    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7361        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7362        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7363        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7364$$ LANGUAGE SQL IMMUTABLE;
7365CREATE OR REPLACE FUNCTION CAL_PPEK0636_EPSSGA(raw numeric)
7366RETURNS numeric AS $$
7367    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7368        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7369        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7370        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7371$$ LANGUAGE SQL IMMUTABLE;
7372CREATE OR REPLACE FUNCTION CAL_PPEK0636_EPSSGB(raw numeric)
7373RETURNS numeric AS $$
7374    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7375        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7376        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7377        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7378$$ LANGUAGE SQL IMMUTABLE;
7379CREATE OR REPLACE FUNCTION CAL_RUEK8043_EPSSGA(raw numeric)
7380RETURNS numeric AS $$
7381    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7382        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7383        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7384        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7385$$ LANGUAGE SQL IMMUTABLE;
7386CREATE OR REPLACE FUNCTION CAL_RUEK8043_EPSSGB(raw numeric)
7387RETURNS numeric AS $$
7388    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7389        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7390        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7391        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7392$$ LANGUAGE SQL IMMUTABLE;
7393CREATE OR REPLACE FUNCTION CAL_PPEK0666_EPSSGA(raw numeric)
7394RETURNS numeric AS $$
7395    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7396        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7397        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7398        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7399$$ LANGUAGE SQL IMMUTABLE;
7400CREATE OR REPLACE FUNCTION CAL_PPEK0666_EPSSGB(raw numeric)
7401RETURNS numeric AS $$
7402    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7403        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7404        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7405        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7406$$ LANGUAGE SQL IMMUTABLE;
7407CREATE OR REPLACE FUNCTION CAL_YYEK000D_EPSSGA(raw numeric)
7408RETURNS numeric AS $$
7409    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7410        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7411        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7412        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7413$$ LANGUAGE SQL IMMUTABLE;
7414CREATE OR REPLACE FUNCTION CAL_YYEK000D_EPSSGB(raw numeric)
7415RETURNS numeric AS $$
7416    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7417        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7418        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7419        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7420$$ LANGUAGE SQL IMMUTABLE;
7421CREATE OR REPLACE FUNCTION CAL_PPEK0231_EPSSGA(raw numeric)
7422RETURNS numeric AS $$
7423    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7424        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7425        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7426        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7427$$ LANGUAGE SQL IMMUTABLE;
7428CREATE OR REPLACE FUNCTION CAL_PPEK0231_EPSSGB(raw numeric)
7429RETURNS numeric AS $$
7430    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7431        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7432        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7433        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7434$$ LANGUAGE SQL IMMUTABLE;
7435CREATE OR REPLACE FUNCTION CAL_RUEK8015_EPSSGA(raw numeric)
7436RETURNS numeric AS $$
7437    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7438        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7439        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7440        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7441$$ LANGUAGE SQL IMMUTABLE;
7442CREATE OR REPLACE FUNCTION CAL_RUEK8015_EPSSGB(raw numeric)
7443RETURNS numeric AS $$
7444    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7445        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7446        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7447        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7448$$ LANGUAGE SQL IMMUTABLE;
7449CREATE OR REPLACE FUNCTION CAL_CSKPMINTTC_EPSSGA(raw numeric)
7450RETURNS numeric AS $$
7451    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7452        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7453        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7454        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7455$$ LANGUAGE SQL IMMUTABLE;
7456CREATE OR REPLACE FUNCTION CAL_CSKPMINTTC_EPSSGB(raw numeric)
7457RETURNS numeric AS $$
7458    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7459        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7460        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7461        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7462$$ LANGUAGE SQL IMMUTABLE;
7463CREATE OR REPLACE FUNCTION CAL_PPEK0704_EPSSGA(raw numeric)
7464RETURNS numeric AS $$
7465    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7466        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7467        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7468        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7469$$ LANGUAGE SQL IMMUTABLE;
7470CREATE OR REPLACE FUNCTION CAL_PPEK0704_EPSSGB(raw numeric)
7471RETURNS numeric AS $$
7472    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7473        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7474        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7475        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7476$$ LANGUAGE SQL IMMUTABLE;
7477CREATE OR REPLACE FUNCTION CAL_PPEK0219_EPSSGA(raw numeric)
7478RETURNS numeric AS $$
7479    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7480        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7481        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7482        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7483$$ LANGUAGE SQL IMMUTABLE;
7484CREATE OR REPLACE FUNCTION CAL_PPEK0219_EPSSGB(raw numeric)
7485RETURNS numeric AS $$
7486    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7487        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7488        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7489        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7490$$ LANGUAGE SQL IMMUTABLE;
7491CREATE OR REPLACE FUNCTION CAL_XXKP0609_EPSSGA(raw numeric)
7492RETURNS numeric AS $$
7493    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7494        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7495        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7496        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7497$$ LANGUAGE SQL IMMUTABLE;
7498CREATE OR REPLACE FUNCTION CAL_XXKP0609_EPSSGB(raw numeric)
7499RETURNS numeric AS $$
7500    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7501        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7502        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7503        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7504$$ LANGUAGE SQL IMMUTABLE;
7505CREATE OR REPLACE FUNCTION CAL_XXKP0408_EPSSGA(raw numeric)
7506RETURNS numeric AS $$
7507    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7508        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7509        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7510        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7511$$ LANGUAGE SQL IMMUTABLE;
7512CREATE OR REPLACE FUNCTION CAL_XXKP0408_EPSSGB(raw numeric)
7513RETURNS numeric AS $$
7514    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7515        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7516        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7517        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7518$$ LANGUAGE SQL IMMUTABLE;
7519CREATE OR REPLACE FUNCTION CAL_XXKP0410_EPSSGA(raw numeric)
7520RETURNS numeric AS $$
7521    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7522        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7523        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7524        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7525$$ LANGUAGE SQL IMMUTABLE;
7526CREATE OR REPLACE FUNCTION CAL_XXKP0410_EPSSGB(raw numeric)
7527RETURNS numeric AS $$
7528    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7529        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7530        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7531        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7532$$ LANGUAGE SQL IMMUTABLE;
7533CREATE OR REPLACE FUNCTION CAL_IUKE0005_EPSSGA(raw numeric)
7534RETURNS numeric AS $$
7535    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7536        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7537        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7538        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7539$$ LANGUAGE SQL IMMUTABLE;
7540CREATE OR REPLACE FUNCTION CAL_IUKE0005_EPSSGB(raw numeric)
7541RETURNS numeric AS $$
7542    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7543        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7544        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7545        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7546$$ LANGUAGE SQL IMMUTABLE;
7547CREATE OR REPLACE FUNCTION CAL_PPEK0679_EPSSGA(raw numeric)
7548RETURNS numeric AS $$
7549    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7550        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7551        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7552        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7553$$ LANGUAGE SQL IMMUTABLE;
7554CREATE OR REPLACE FUNCTION CAL_PPEK0679_EPSSGB(raw numeric)
7555RETURNS numeric AS $$
7556    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7557        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7558        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7559        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7560$$ LANGUAGE SQL IMMUTABLE;
7561CREATE OR REPLACE FUNCTION CAL_PPEK0617_EPSSGA(raw numeric)
7562RETURNS numeric AS $$
7563    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7564        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7565        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7566        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7567$$ LANGUAGE SQL IMMUTABLE;
7568CREATE OR REPLACE FUNCTION CAL_PPEK0617_EPSSGB(raw numeric)
7569RETURNS numeric AS $$
7570    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7571        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7572        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7573        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7574$$ LANGUAGE SQL IMMUTABLE;
7575CREATE OR REPLACE FUNCTION CAL_XXKP0587_EPSSGA(raw numeric)
7576RETURNS numeric AS $$
7577    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7578        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7579        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7580        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7581$$ LANGUAGE SQL IMMUTABLE;
7582CREATE OR REPLACE FUNCTION CAL_XXKP0587_EPSSGB(raw numeric)
7583RETURNS numeric AS $$
7584    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7585        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7586        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7587        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7588$$ LANGUAGE SQL IMMUTABLE;
7589CREATE OR REPLACE FUNCTION CAL_PPEK0504_EPSSGA(raw numeric)
7590RETURNS numeric AS $$
7591    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7592        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7593        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7594        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7595$$ LANGUAGE SQL IMMUTABLE;
7596CREATE OR REPLACE FUNCTION CAL_PPEK0504_EPSSGB(raw numeric)
7597RETURNS numeric AS $$
7598    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7599        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7600        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7601        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7602$$ LANGUAGE SQL IMMUTABLE;
7603CREATE OR REPLACE FUNCTION CAL_XXKP0693_EPSSGA(raw numeric)
7604RETURNS numeric AS $$
7605    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7606        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7607        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7608        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7609$$ LANGUAGE SQL IMMUTABLE;
7610CREATE OR REPLACE FUNCTION CAL_XXKP0693_EPSSGB(raw numeric)
7611RETURNS numeric AS $$
7612    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7613        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7614        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7615        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7616$$ LANGUAGE SQL IMMUTABLE;
7617CREATE OR REPLACE FUNCTION CAL_PPEK0172_EPSSGA(raw numeric)
7618RETURNS numeric AS $$
7619    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7620        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7621        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7622        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7623$$ LANGUAGE SQL IMMUTABLE;
7624CREATE OR REPLACE FUNCTION CAL_PPEK0172_EPSSGB(raw numeric)
7625RETURNS numeric AS $$
7626    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7627        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7628        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7629        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7630$$ LANGUAGE SQL IMMUTABLE;
7631CREATE OR REPLACE FUNCTION CAL_XXKP0639_EPSSGA(raw numeric)
7632RETURNS numeric AS $$
7633    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7634        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7635        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7636        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7637$$ LANGUAGE SQL IMMUTABLE;
7638CREATE OR REPLACE FUNCTION CAL_XXKP0639_EPSSGB(raw numeric)
7639RETURNS numeric AS $$
7640    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7641        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7642        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7643        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7644$$ LANGUAGE SQL IMMUTABLE;
7645CREATE OR REPLACE FUNCTION CAL_RUEK8038_EPSSGA(raw numeric)
7646RETURNS numeric AS $$
7647    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7648        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7649        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7650        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7651$$ LANGUAGE SQL IMMUTABLE;
7652CREATE OR REPLACE FUNCTION CAL_RUEK8038_EPSSGB(raw numeric)
7653RETURNS numeric AS $$
7654    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7655        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7656        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7657        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7658$$ LANGUAGE SQL IMMUTABLE;
7659CREATE OR REPLACE FUNCTION CAL_PPEK0635_EPSSGA(raw numeric)
7660RETURNS numeric AS $$
7661    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7662        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7663        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7664        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7665$$ LANGUAGE SQL IMMUTABLE;
7666CREATE OR REPLACE FUNCTION CAL_PPEK0635_EPSSGB(raw numeric)
7667RETURNS numeric AS $$
7668    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7669        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7670        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7671        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7672$$ LANGUAGE SQL IMMUTABLE;
7673CREATE OR REPLACE FUNCTION CAL_WCK00018_EPSSGA(raw numeric)
7674RETURNS numeric AS $$
7675    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7676        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7677        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7678        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7679$$ LANGUAGE SQL IMMUTABLE;
7680CREATE OR REPLACE FUNCTION CAL_WCK00018_EPSSGB(raw numeric)
7681RETURNS numeric AS $$
7682    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7683        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7684        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7685        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7686$$ LANGUAGE SQL IMMUTABLE;
7687CREATE OR REPLACE FUNCTION CAL_RUEK8073_EPSSGA(raw numeric)
7688RETURNS numeric AS $$
7689    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7690        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7691        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7692        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7693$$ LANGUAGE SQL IMMUTABLE;
7694CREATE OR REPLACE FUNCTION CAL_RUEK8073_EPSSGB(raw numeric)
7695RETURNS numeric AS $$
7696    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7697        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7698        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7699        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7700$$ LANGUAGE SQL IMMUTABLE;
7701CREATE OR REPLACE FUNCTION CAL_PPEK0100_EPSSGA(raw numeric)
7702RETURNS numeric AS $$
7703    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7704        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7705        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7706        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7707$$ LANGUAGE SQL IMMUTABLE;
7708CREATE OR REPLACE FUNCTION CAL_PPEK0100_EPSSGB(raw numeric)
7709RETURNS numeric AS $$
7710    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7711        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7712        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7713        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7714$$ LANGUAGE SQL IMMUTABLE;
7715CREATE OR REPLACE FUNCTION CAL_XXKP0461_EPSSGA(raw numeric)
7716RETURNS numeric AS $$
7717    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7718        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7719        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7720        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7721$$ LANGUAGE SQL IMMUTABLE;
7722CREATE OR REPLACE FUNCTION CAL_XXKP0461_EPSSGB(raw numeric)
7723RETURNS numeric AS $$
7724    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7725        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7726        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7727        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7728$$ LANGUAGE SQL IMMUTABLE;
7729CREATE OR REPLACE FUNCTION CAL_XXKP5002_EPSSGA(raw numeric)
7730RETURNS numeric AS $$
7731    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7732        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7733        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7734        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7735$$ LANGUAGE SQL IMMUTABLE;
7736CREATE OR REPLACE FUNCTION CAL_XXKP5002_EPSSGB(raw numeric)
7737RETURNS numeric AS $$
7738    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7739        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7740        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7741        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7742$$ LANGUAGE SQL IMMUTABLE;
7743CREATE OR REPLACE FUNCTION CAL_WGK00000_EPSSGA(raw numeric)
7744RETURNS numeric AS $$
7745    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7746        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7747        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7748        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7749$$ LANGUAGE SQL IMMUTABLE;
7750CREATE OR REPLACE FUNCTION CAL_WGK00000_EPSSGB(raw numeric)
7751RETURNS numeric AS $$
7752    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7753        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7754        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7755        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7756$$ LANGUAGE SQL IMMUTABLE;
7757CREATE OR REPLACE FUNCTION CAL_BHKP0027_EPSSGA(raw numeric)
7758RETURNS numeric AS $$
7759    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7760        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7761        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7762        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7763$$ LANGUAGE SQL IMMUTABLE;
7764CREATE OR REPLACE FUNCTION CAL_BHKP0027_EPSSGB(raw numeric)
7765RETURNS numeric AS $$
7766    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7767        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7768        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7769        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7770$$ LANGUAGE SQL IMMUTABLE;
7771CREATE OR REPLACE FUNCTION CAL_PPEK0610_EPSSGA(raw numeric)
7772RETURNS numeric AS $$
7773    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7774        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7775        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7776        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7777$$ LANGUAGE SQL IMMUTABLE;
7778CREATE OR REPLACE FUNCTION CAL_PPEK0610_EPSSGB(raw numeric)
7779RETURNS numeric AS $$
7780    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7781        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7782        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7783        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7784$$ LANGUAGE SQL IMMUTABLE;
7785CREATE OR REPLACE FUNCTION CAL_WTK00001_EPSSGA(raw numeric)
7786RETURNS numeric AS $$
7787    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7788        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7789        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7790        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7791$$ LANGUAGE SQL IMMUTABLE;
7792CREATE OR REPLACE FUNCTION CAL_WTK00001_EPSSGB(raw numeric)
7793RETURNS numeric AS $$
7794    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7795        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7796        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7797        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7798$$ LANGUAGE SQL IMMUTABLE;
7799CREATE OR REPLACE FUNCTION CAL_PPEK0170_EPSSGA(raw numeric)
7800RETURNS numeric AS $$
7801    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7802        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7803        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7804        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7805$$ LANGUAGE SQL IMMUTABLE;
7806CREATE OR REPLACE FUNCTION CAL_PPEK0170_EPSSGB(raw numeric)
7807RETURNS numeric AS $$
7808    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7809        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7810        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7811        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7812$$ LANGUAGE SQL IMMUTABLE;
7813CREATE OR REPLACE FUNCTION CAL_XXKP0550_EPSSGA(raw numeric)
7814RETURNS numeric AS $$
7815    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7816        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7817        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7818        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7819$$ LANGUAGE SQL IMMUTABLE;
7820CREATE OR REPLACE FUNCTION CAL_XXKP0550_EPSSGB(raw numeric)
7821RETURNS numeric AS $$
7822    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7823        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7824        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7825        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7826$$ LANGUAGE SQL IMMUTABLE;
7827CREATE OR REPLACE FUNCTION CAL_RUEK9020TC_EPSSGA(raw numeric)
7828RETURNS numeric AS $$
7829    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7830        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7831        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7832        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7833$$ LANGUAGE SQL IMMUTABLE;
7834CREATE OR REPLACE FUNCTION CAL_RUEK9020TC_EPSSGB(raw numeric)
7835RETURNS numeric AS $$
7836    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7837        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7838        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7839        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7840$$ LANGUAGE SQL IMMUTABLE;
7841CREATE OR REPLACE FUNCTION CAL_CFKPR0002_EPSSGA(raw numeric)
7842RETURNS numeric AS $$
7843    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7844        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7845        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7846        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7847$$ LANGUAGE SQL IMMUTABLE;
7848CREATE OR REPLACE FUNCTION CAL_CFKPR0002_EPSSGB(raw numeric)
7849RETURNS numeric AS $$
7850    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7851        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7852        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7853        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7854$$ LANGUAGE SQL IMMUTABLE;
7855CREATE OR REPLACE FUNCTION CAL_PPEK0129_EPSSGA(raw numeric)
7856RETURNS numeric AS $$
7857    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7858        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7859        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7860        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7861$$ LANGUAGE SQL IMMUTABLE;
7862CREATE OR REPLACE FUNCTION CAL_PPEK0129_EPSSGB(raw numeric)
7863RETURNS numeric AS $$
7864    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7865        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7866        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7867        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7868$$ LANGUAGE SQL IMMUTABLE;
7869CREATE OR REPLACE FUNCTION CAL_PPEK0171_EPSSGA(raw numeric)
7870RETURNS numeric AS $$
7871    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7872        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7873        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7874        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7875$$ LANGUAGE SQL IMMUTABLE;
7876CREATE OR REPLACE FUNCTION CAL_PPEK0171_EPSSGB(raw numeric)
7877RETURNS numeric AS $$
7878    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7879        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7880        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7881        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7882$$ LANGUAGE SQL IMMUTABLE;
7883CREATE OR REPLACE FUNCTION CAL_RKEK0026_EPSSGA(raw numeric)
7884RETURNS numeric AS $$
7885    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7886        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7887        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7888        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7889$$ LANGUAGE SQL IMMUTABLE;
7890CREATE OR REPLACE FUNCTION CAL_RKEK0026_EPSSGB(raw numeric)
7891RETURNS numeric AS $$
7892    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7893        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7894        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7895        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7896$$ LANGUAGE SQL IMMUTABLE;
7897CREATE OR REPLACE FUNCTION CAL_PPEK0526_EPSSGA(raw numeric)
7898RETURNS numeric AS $$
7899    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7900        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7901        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7902        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7903$$ LANGUAGE SQL IMMUTABLE;
7904CREATE OR REPLACE FUNCTION CAL_PPEK0526_EPSSGB(raw numeric)
7905RETURNS numeric AS $$
7906    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7907        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7908        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7909        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7910$$ LANGUAGE SQL IMMUTABLE;
7911CREATE OR REPLACE FUNCTION CAL_PPEK0606_EPSSGA(raw numeric)
7912RETURNS numeric AS $$
7913    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7914        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7915        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7916        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7917$$ LANGUAGE SQL IMMUTABLE;
7918CREATE OR REPLACE FUNCTION CAL_PPEK0606_EPSSGB(raw numeric)
7919RETURNS numeric AS $$
7920    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7921        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7922        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7923        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7924$$ LANGUAGE SQL IMMUTABLE;
7925CREATE OR REPLACE FUNCTION CAL_XXKP0440_EPSSGA(raw numeric)
7926RETURNS numeric AS $$
7927    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7928        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7929        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7930        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7931$$ LANGUAGE SQL IMMUTABLE;
7932CREATE OR REPLACE FUNCTION CAL_XXKP0440_EPSSGB(raw numeric)
7933RETURNS numeric AS $$
7934    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7935        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7936        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7937        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7938$$ LANGUAGE SQL IMMUTABLE;
7939CREATE OR REPLACE FUNCTION CAL_PPEK0684_EPSSGA(raw numeric)
7940RETURNS numeric AS $$
7941    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7942        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7943        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7944        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7945$$ LANGUAGE SQL IMMUTABLE;
7946CREATE OR REPLACE FUNCTION CAL_PPEK0684_EPSSGB(raw numeric)
7947RETURNS numeric AS $$
7948    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7949        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7950        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7951        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7952$$ LANGUAGE SQL IMMUTABLE;
7953CREATE OR REPLACE FUNCTION CAL_PPEK0144_EPSSGA(raw numeric)
7954RETURNS numeric AS $$
7955    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7956        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7957        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7958        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7959$$ LANGUAGE SQL IMMUTABLE;
7960CREATE OR REPLACE FUNCTION CAL_PPEK0144_EPSSGB(raw numeric)
7961RETURNS numeric AS $$
7962    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7963        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7964        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7965        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7966$$ LANGUAGE SQL IMMUTABLE;
7967CREATE OR REPLACE FUNCTION CAL_NAKP8506_EPSSGA(raw numeric)
7968RETURNS numeric AS $$
7969    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7970        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7971        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7972        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7973$$ LANGUAGE SQL IMMUTABLE;
7974CREATE OR REPLACE FUNCTION CAL_NAKP8506_EPSSGB(raw numeric)
7975RETURNS numeric AS $$
7976    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7977        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7978        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7979        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7980$$ LANGUAGE SQL IMMUTABLE;
7981CREATE OR REPLACE FUNCTION CAL_XXKP0424_EPSSGA(raw numeric)
7982RETURNS numeric AS $$
7983    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7984        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7985        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7986        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7987$$ LANGUAGE SQL IMMUTABLE;
7988CREATE OR REPLACE FUNCTION CAL_XXKP0424_EPSSGB(raw numeric)
7989RETURNS numeric AS $$
7990    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7991        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7992        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
7993        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
7994$$ LANGUAGE SQL IMMUTABLE;
7995CREATE OR REPLACE FUNCTION CAL_NAKP802F_EPSSGA(raw numeric)
7996RETURNS numeric AS $$
7997    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
7998        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
7999        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8000        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8001$$ LANGUAGE SQL IMMUTABLE;
8002CREATE OR REPLACE FUNCTION CAL_NAKP802F_EPSSGB(raw numeric)
8003RETURNS numeric AS $$
8004    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8005        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8006        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8007        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8008$$ LANGUAGE SQL IMMUTABLE;
8009CREATE OR REPLACE FUNCTION CAL_NAKP8600_EPSSGA(raw numeric)
8010RETURNS numeric AS $$
8011    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8012        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8013        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8014        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8015$$ LANGUAGE SQL IMMUTABLE;
8016CREATE OR REPLACE FUNCTION CAL_NAKP8600_EPSSGB(raw numeric)
8017RETURNS numeric AS $$
8018    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8019        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8020        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8021        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8022$$ LANGUAGE SQL IMMUTABLE;
8023CREATE OR REPLACE FUNCTION CAL_XXKP0409_EPSSGA(raw numeric)
8024RETURNS numeric AS $$
8025    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8026        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8027        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8028        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8029$$ LANGUAGE SQL IMMUTABLE;
8030CREATE OR REPLACE FUNCTION CAL_XXKP0409_EPSSGB(raw numeric)
8031RETURNS numeric AS $$
8032    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8033        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8034        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8035        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8036$$ LANGUAGE SQL IMMUTABLE;
8037CREATE OR REPLACE FUNCTION CAL_XXKP0631_EPSSGA(raw numeric)
8038RETURNS numeric AS $$
8039    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8040        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8041        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8042        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8043$$ LANGUAGE SQL IMMUTABLE;
8044CREATE OR REPLACE FUNCTION CAL_XXKP0631_EPSSGB(raw numeric)
8045RETURNS numeric AS $$
8046    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8047        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8048        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8049        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8050$$ LANGUAGE SQL IMMUTABLE;
8051CREATE OR REPLACE FUNCTION CAL_PPEK0117_EPSSGA(raw numeric)
8052RETURNS numeric AS $$
8053    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8054        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8055        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8056        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8057$$ LANGUAGE SQL IMMUTABLE;
8058CREATE OR REPLACE FUNCTION CAL_PPEK0117_EPSSGB(raw numeric)
8059RETURNS numeric AS $$
8060    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8061        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8062        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8063        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8064$$ LANGUAGE SQL IMMUTABLE;
8065CREATE OR REPLACE FUNCTION CAL_XXKP0635_EPSSGA(raw numeric)
8066RETURNS numeric AS $$
8067    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8068        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8069        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8070        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8071$$ LANGUAGE SQL IMMUTABLE;
8072CREATE OR REPLACE FUNCTION CAL_XXKP0635_EPSSGB(raw numeric)
8073RETURNS numeric AS $$
8074    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8075        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8076        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8077        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8078$$ LANGUAGE SQL IMMUTABLE;
8079CREATE OR REPLACE FUNCTION CAL_BHKE0026_EPSSGA(raw numeric)
8080RETURNS numeric AS $$
8081    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8082        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8083        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8084        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8085$$ LANGUAGE SQL IMMUTABLE;
8086CREATE OR REPLACE FUNCTION CAL_BHKE0026_EPSSGB(raw numeric)
8087RETURNS numeric AS $$
8088    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8089        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8090        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8091        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8092$$ LANGUAGE SQL IMMUTABLE;
8093CREATE OR REPLACE FUNCTION CAL_PPEK0501_EPSSGA(raw numeric)
8094RETURNS numeric AS $$
8095    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8096        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8097        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8098        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8099$$ LANGUAGE SQL IMMUTABLE;
8100CREATE OR REPLACE FUNCTION CAL_PPEK0501_EPSSGB(raw numeric)
8101RETURNS numeric AS $$
8102    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8103        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8104        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8105        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8106$$ LANGUAGE SQL IMMUTABLE;
8107CREATE OR REPLACE FUNCTION CAL_PPEK0402_EPSSGA(raw numeric)
8108RETURNS numeric AS $$
8109    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8110        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8111        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8112        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8113$$ LANGUAGE SQL IMMUTABLE;
8114CREATE OR REPLACE FUNCTION CAL_PPEK0402_EPSSGB(raw numeric)
8115RETURNS numeric AS $$
8116    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8117        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8118        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8119        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8120$$ LANGUAGE SQL IMMUTABLE;
8121CREATE OR REPLACE FUNCTION CAL_RKEK0025_EPSSGA(raw numeric)
8122RETURNS numeric AS $$
8123    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8124        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8125        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8126        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8127$$ LANGUAGE SQL IMMUTABLE;
8128CREATE OR REPLACE FUNCTION CAL_RKEK0025_EPSSGB(raw numeric)
8129RETURNS numeric AS $$
8130    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8131        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8132        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8133        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8134$$ LANGUAGE SQL IMMUTABLE;
8135CREATE OR REPLACE FUNCTION CAL_XXKP0583_EPSSGA(raw numeric)
8136RETURNS numeric AS $$
8137    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8138        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8139        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8140        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8141$$ LANGUAGE SQL IMMUTABLE;
8142CREATE OR REPLACE FUNCTION CAL_XXKP0583_EPSSGB(raw numeric)
8143RETURNS numeric AS $$
8144    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8145        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8146        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8147        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8148$$ LANGUAGE SQL IMMUTABLE;
8149CREATE OR REPLACE FUNCTION CAL_RUEK8039_EPSSGA(raw numeric)
8150RETURNS numeric AS $$
8151    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8152        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8153        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8154        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8155$$ LANGUAGE SQL IMMUTABLE;
8156CREATE OR REPLACE FUNCTION CAL_RUEK8039_EPSSGB(raw numeric)
8157RETURNS numeric AS $$
8158    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8159        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8160        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8161        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8162$$ LANGUAGE SQL IMMUTABLE;
8163CREATE OR REPLACE FUNCTION CAL_PPEK0640_EPSSGA(raw numeric)
8164RETURNS numeric AS $$
8165    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8166        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8167        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8168        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8169$$ LANGUAGE SQL IMMUTABLE;
8170CREATE OR REPLACE FUNCTION CAL_PPEK0640_EPSSGB(raw numeric)
8171RETURNS numeric AS $$
8172    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8173        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8174        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8175        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8176$$ LANGUAGE SQL IMMUTABLE;
8177CREATE OR REPLACE FUNCTION CAL_XXKP0593_EPSSGA(raw numeric)
8178RETURNS numeric AS $$
8179    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8180        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8181        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8182        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8183$$ LANGUAGE SQL IMMUTABLE;
8184CREATE OR REPLACE FUNCTION CAL_XXKP0593_EPSSGB(raw numeric)
8185RETURNS numeric AS $$
8186    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8187        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8188        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8189        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8190$$ LANGUAGE SQL IMMUTABLE;
8191CREATE OR REPLACE FUNCTION CAL_PPEK1104_EPSSGA(raw numeric)
8192RETURNS numeric AS $$
8193    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8194        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8195        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8196        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8197$$ LANGUAGE SQL IMMUTABLE;
8198CREATE OR REPLACE FUNCTION CAL_PPEK1104_EPSSGB(raw numeric)
8199RETURNS numeric AS $$
8200    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8201        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8202        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8203        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8204$$ LANGUAGE SQL IMMUTABLE;
8205CREATE OR REPLACE FUNCTION CAL_PPEK0101_EPSSGA(raw numeric)
8206RETURNS numeric AS $$
8207    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8208        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8209        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8210        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8211$$ LANGUAGE SQL IMMUTABLE;
8212CREATE OR REPLACE FUNCTION CAL_PPEK0101_EPSSGB(raw numeric)
8213RETURNS numeric AS $$
8214    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8215        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8216        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8217        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8218$$ LANGUAGE SQL IMMUTABLE;
8219CREATE OR REPLACE FUNCTION CAL_XXKP0545_EPSSGA(raw numeric)
8220RETURNS numeric AS $$
8221    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8222        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8223        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8224        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8225$$ LANGUAGE SQL IMMUTABLE;
8226CREATE OR REPLACE FUNCTION CAL_XXKP0545_EPSSGB(raw numeric)
8227RETURNS numeric AS $$
8228    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8229        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8230        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8231        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8232$$ LANGUAGE SQL IMMUTABLE;
8233CREATE OR REPLACE FUNCTION CAL_NAKP8024_EPSSGA(raw numeric)
8234RETURNS numeric AS $$
8235    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8236        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8237        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8238        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8239$$ LANGUAGE SQL IMMUTABLE;
8240CREATE OR REPLACE FUNCTION CAL_NAKP8024_EPSSGB(raw numeric)
8241RETURNS numeric AS $$
8242    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8243        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8244        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8245        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8246$$ LANGUAGE SQL IMMUTABLE;
8247CREATE OR REPLACE FUNCTION CAL_XXKP0438_EPSSGA(raw numeric)
8248RETURNS numeric AS $$
8249    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8250        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8251        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8252        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8253$$ LANGUAGE SQL IMMUTABLE;
8254CREATE OR REPLACE FUNCTION CAL_XXKP0438_EPSSGB(raw numeric)
8255RETURNS numeric AS $$
8256    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8257        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8258        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8259        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8260$$ LANGUAGE SQL IMMUTABLE;
8261CREATE OR REPLACE FUNCTION CAL_XXKP0682_EPSSGA(raw numeric)
8262RETURNS numeric AS $$
8263    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8264        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8265        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8266        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8267$$ LANGUAGE SQL IMMUTABLE;
8268CREATE OR REPLACE FUNCTION CAL_XXKP0682_EPSSGB(raw numeric)
8269RETURNS numeric AS $$
8270    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8271        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8272        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8273        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8274$$ LANGUAGE SQL IMMUTABLE;
8275CREATE OR REPLACE FUNCTION CAL_YYKP0012_EPSSGA(raw numeric)
8276RETURNS numeric AS $$
8277    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8278        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8279        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8280        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8281$$ LANGUAGE SQL IMMUTABLE;
8282CREATE OR REPLACE FUNCTION CAL_YYKP0012_EPSSGB(raw numeric)
8283RETURNS numeric AS $$
8284    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8285        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8286        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8287        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8288$$ LANGUAGE SQL IMMUTABLE;
8289CREATE OR REPLACE FUNCTION CAL_PPEK0664_EPSSGA(raw numeric)
8290RETURNS numeric AS $$
8291    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8292        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8293        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8294        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8295$$ LANGUAGE SQL IMMUTABLE;
8296CREATE OR REPLACE FUNCTION CAL_PPEK0664_EPSSGB(raw numeric)
8297RETURNS numeric AS $$
8298    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8299        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8300        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8301        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8302$$ LANGUAGE SQL IMMUTABLE;
8303CREATE OR REPLACE FUNCTION CAL_PPEK0118_EPSSGA(raw numeric)
8304RETURNS numeric AS $$
8305    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8306        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8307        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8308        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8309$$ LANGUAGE SQL IMMUTABLE;
8310CREATE OR REPLACE FUNCTION CAL_PPEK0118_EPSSGB(raw numeric)
8311RETURNS numeric AS $$
8312    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8313        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8314        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8315        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8316$$ LANGUAGE SQL IMMUTABLE;
8317CREATE OR REPLACE FUNCTION CAL_XXKP5000_EPSSGA(raw numeric)
8318RETURNS numeric AS $$
8319    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8320        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8321        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8322        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8323$$ LANGUAGE SQL IMMUTABLE;
8324CREATE OR REPLACE FUNCTION CAL_XXKP5000_EPSSGB(raw numeric)
8325RETURNS numeric AS $$
8326    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8327        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8328        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8329        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8330$$ LANGUAGE SQL IMMUTABLE;
8331CREATE OR REPLACE FUNCTION CAL_YYKP0014_EPSSGA(raw numeric)
8332RETURNS numeric AS $$
8333    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8334        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8335        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8336        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8337$$ LANGUAGE SQL IMMUTABLE;
8338CREATE OR REPLACE FUNCTION CAL_YYKP0014_EPSSGB(raw numeric)
8339RETURNS numeric AS $$
8340    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8341        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8342        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8343        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8344$$ LANGUAGE SQL IMMUTABLE;
8345CREATE OR REPLACE FUNCTION CAL_XXKP0620_EPSSGA(raw numeric)
8346RETURNS numeric AS $$
8347    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8348        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8349        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8350        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8351$$ LANGUAGE SQL IMMUTABLE;
8352CREATE OR REPLACE FUNCTION CAL_XXKP0620_EPSSGB(raw numeric)
8353RETURNS numeric AS $$
8354    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8355        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8356        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8357        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8358$$ LANGUAGE SQL IMMUTABLE;
8359CREATE OR REPLACE FUNCTION CAL_PPEK0217_EPSSGA(raw numeric)
8360RETURNS numeric AS $$
8361    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8362        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8363        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8364        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8365$$ LANGUAGE SQL IMMUTABLE;
8366CREATE OR REPLACE FUNCTION CAL_PPEK0217_EPSSGB(raw numeric)
8367RETURNS numeric AS $$
8368    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8369        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8370        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8371        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8372$$ LANGUAGE SQL IMMUTABLE;
8373CREATE OR REPLACE FUNCTION CAL_XXKP0649_EPSSGA(raw numeric)
8374RETURNS numeric AS $$
8375    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8376        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8377        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8378        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8379$$ LANGUAGE SQL IMMUTABLE;
8380CREATE OR REPLACE FUNCTION CAL_XXKP0649_EPSSGB(raw numeric)
8381RETURNS numeric AS $$
8382    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8383        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8384        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8385        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8386$$ LANGUAGE SQL IMMUTABLE;
8387CREATE OR REPLACE FUNCTION CAL_XXKP0469_EPSSGA(raw numeric)
8388RETURNS numeric AS $$
8389    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8390        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8391        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8392        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8393$$ LANGUAGE SQL IMMUTABLE;
8394CREATE OR REPLACE FUNCTION CAL_XXKP0469_EPSSGB(raw numeric)
8395RETURNS numeric AS $$
8396    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8397        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8398        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8399        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8400$$ LANGUAGE SQL IMMUTABLE;
8401CREATE OR REPLACE FUNCTION CAL_NAKP8027_EPSSGA(raw numeric)
8402RETURNS numeric AS $$
8403    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8404        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8405        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8406        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8407$$ LANGUAGE SQL IMMUTABLE;
8408CREATE OR REPLACE FUNCTION CAL_NAKP8027_EPSSGB(raw numeric)
8409RETURNS numeric AS $$
8410    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8411        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8412        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8413        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8414$$ LANGUAGE SQL IMMUTABLE;
8415CREATE OR REPLACE FUNCTION CAL_PPEK0404_EPSSGA(raw numeric)
8416RETURNS numeric AS $$
8417    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8418        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8419        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8420        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8421$$ LANGUAGE SQL IMMUTABLE;
8422CREATE OR REPLACE FUNCTION CAL_PPEK0404_EPSSGB(raw numeric)
8423RETURNS numeric AS $$
8424    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8425        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8426        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8427        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8428$$ LANGUAGE SQL IMMUTABLE;
8429CREATE OR REPLACE FUNCTION CAL_NAKP8515_EPSSGA(raw numeric)
8430RETURNS numeric AS $$
8431    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8432        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8433        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8434        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8435$$ LANGUAGE SQL IMMUTABLE;
8436CREATE OR REPLACE FUNCTION CAL_NAKP8515_EPSSGB(raw numeric)
8437RETURNS numeric AS $$
8438    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8439        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8440        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8441        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8442$$ LANGUAGE SQL IMMUTABLE;
8443CREATE OR REPLACE FUNCTION CAL_PPEK0187_EPSSGA(raw numeric)
8444RETURNS numeric AS $$
8445    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8446        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8447        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8448        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8449$$ LANGUAGE SQL IMMUTABLE;
8450CREATE OR REPLACE FUNCTION CAL_PPEK0187_EPSSGB(raw numeric)
8451RETURNS numeric AS $$
8452    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8453        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8454        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8455        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8456$$ LANGUAGE SQL IMMUTABLE;
8457CREATE OR REPLACE FUNCTION CAL_XXKP0406_EPSSGA(raw numeric)
8458RETURNS numeric AS $$
8459    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8460        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8461        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8462        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8463$$ LANGUAGE SQL IMMUTABLE;
8464CREATE OR REPLACE FUNCTION CAL_XXKP0406_EPSSGB(raw numeric)
8465RETURNS numeric AS $$
8466    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8467        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8468        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8469        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8470$$ LANGUAGE SQL IMMUTABLE;
8471CREATE OR REPLACE FUNCTION CAL_PPEK0227_EPSSGA(raw numeric)
8472RETURNS numeric AS $$
8473    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8474        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8475        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8476        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8477$$ LANGUAGE SQL IMMUTABLE;
8478CREATE OR REPLACE FUNCTION CAL_PPEK0227_EPSSGB(raw numeric)
8479RETURNS numeric AS $$
8480    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8481        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8482        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8483        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8484$$ LANGUAGE SQL IMMUTABLE;
8485CREATE OR REPLACE FUNCTION CAL_RUEK8017_EPSSGA(raw numeric)
8486RETURNS numeric AS $$
8487    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8488        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8489        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8490        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8491$$ LANGUAGE SQL IMMUTABLE;
8492CREATE OR REPLACE FUNCTION CAL_RUEK8017_EPSSGB(raw numeric)
8493RETURNS numeric AS $$
8494    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8495        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8496        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8497        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8498$$ LANGUAGE SQL IMMUTABLE;
8499CREATE OR REPLACE FUNCTION CAL_PPEK0134_EPSSGA(raw numeric)
8500RETURNS numeric AS $$
8501    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8502        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8503        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8504        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8505$$ LANGUAGE SQL IMMUTABLE;
8506CREATE OR REPLACE FUNCTION CAL_PPEK0134_EPSSGB(raw numeric)
8507RETURNS numeric AS $$
8508    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8509        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8510        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8511        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8512$$ LANGUAGE SQL IMMUTABLE;
8513CREATE OR REPLACE FUNCTION CAL_WCK00031_EPSSGA(raw numeric)
8514RETURNS numeric AS $$
8515    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8516        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8517        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8518        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8519$$ LANGUAGE SQL IMMUTABLE;
8520CREATE OR REPLACE FUNCTION CAL_WCK00031_EPSSGB(raw numeric)
8521RETURNS numeric AS $$
8522    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8523        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8524        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8525        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8526$$ LANGUAGE SQL IMMUTABLE;
8527CREATE OR REPLACE FUNCTION CAL_XXKP5003_EPSSGA(raw numeric)
8528RETURNS numeric AS $$
8529    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8530        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8531        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8532        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8533$$ LANGUAGE SQL IMMUTABLE;
8534CREATE OR REPLACE FUNCTION CAL_XXKP5003_EPSSGB(raw numeric)
8535RETURNS numeric AS $$
8536    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8537        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8538        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8539        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8540$$ LANGUAGE SQL IMMUTABLE;
8541CREATE OR REPLACE FUNCTION CAL_WCK00034_EPSSGA(raw numeric)
8542RETURNS numeric AS $$
8543    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8544        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8545        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8546        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8547$$ LANGUAGE SQL IMMUTABLE;
8548CREATE OR REPLACE FUNCTION CAL_WCK00034_EPSSGB(raw numeric)
8549RETURNS numeric AS $$
8550    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8551        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8552        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8553        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8554$$ LANGUAGE SQL IMMUTABLE;
8555CREATE OR REPLACE FUNCTION CAL_YYEK0012_EPSSGA(raw numeric)
8556RETURNS numeric AS $$
8557    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8558        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8559        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8560        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8561$$ LANGUAGE SQL IMMUTABLE;
8562CREATE OR REPLACE FUNCTION CAL_YYEK0012_EPSSGB(raw numeric)
8563RETURNS numeric AS $$
8564    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8565        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8566        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8567        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8568$$ LANGUAGE SQL IMMUTABLE;
8569CREATE OR REPLACE FUNCTION CAL_RUEK8052_EPSSGA(raw numeric)
8570RETURNS numeric AS $$
8571    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8572        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8573        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8574        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8575$$ LANGUAGE SQL IMMUTABLE;
8576CREATE OR REPLACE FUNCTION CAL_RUEK8052_EPSSGB(raw numeric)
8577RETURNS numeric AS $$
8578    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8579        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8580        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8581        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8582$$ LANGUAGE SQL IMMUTABLE;
8583CREATE OR REPLACE FUNCTION CAL_XXKP0601_EPSSGA(raw numeric)
8584RETURNS numeric AS $$
8585    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8586        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8587        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8588        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8589$$ LANGUAGE SQL IMMUTABLE;
8590CREATE OR REPLACE FUNCTION CAL_XXKP0601_EPSSGB(raw numeric)
8591RETURNS numeric AS $$
8592    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8593        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8594        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8595        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8596$$ LANGUAGE SQL IMMUTABLE;
8597CREATE OR REPLACE FUNCTION CAL_PPEK0646_EPSSGA(raw numeric)
8598RETURNS numeric AS $$
8599    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8600        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8601        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8602        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8603$$ LANGUAGE SQL IMMUTABLE;
8604CREATE OR REPLACE FUNCTION CAL_PPEK0646_EPSSGB(raw numeric)
8605RETURNS numeric AS $$
8606    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8607        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8608        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8609        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8610$$ LANGUAGE SQL IMMUTABLE;
8611CREATE OR REPLACE FUNCTION CAL_XXKP0556_EPSSGA(raw numeric)
8612RETURNS numeric AS $$
8613    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8614        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8615        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8616        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8617$$ LANGUAGE SQL IMMUTABLE;
8618CREATE OR REPLACE FUNCTION CAL_XXKP0556_EPSSGB(raw numeric)
8619RETURNS numeric AS $$
8620    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8621        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8622        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8623        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8624$$ LANGUAGE SQL IMMUTABLE;
8625CREATE OR REPLACE FUNCTION CAL_CSKINTERTM_EPSSGA(raw numeric)
8626RETURNS numeric AS $$
8627    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8628        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8629        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8630        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8631$$ LANGUAGE SQL IMMUTABLE;
8632CREATE OR REPLACE FUNCTION CAL_CSKINTERTM_EPSSGB(raw numeric)
8633RETURNS numeric AS $$
8634    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8635        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8636        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8637        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8638$$ LANGUAGE SQL IMMUTABLE;
8639CREATE OR REPLACE FUNCTION CAL_NAKP8505_EPSSGA(raw numeric)
8640RETURNS numeric AS $$
8641    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8642        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8643        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8644        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8645$$ LANGUAGE SQL IMMUTABLE;
8646CREATE OR REPLACE FUNCTION CAL_NAKP8505_EPSSGB(raw numeric)
8647RETURNS numeric AS $$
8648    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8649        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8650        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8651        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8652$$ LANGUAGE SQL IMMUTABLE;
8653CREATE OR REPLACE FUNCTION CAL_NAKP8010_EPSSGA(raw numeric)
8654RETURNS numeric AS $$
8655    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8656        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8657        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8658        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8659$$ LANGUAGE SQL IMMUTABLE;
8660CREATE OR REPLACE FUNCTION CAL_NAKP8010_EPSSGB(raw numeric)
8661RETURNS numeric AS $$
8662    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8663        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8664        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8665        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8666$$ LANGUAGE SQL IMMUTABLE;
8667CREATE OR REPLACE FUNCTION CAL_WCK00030_EPSSGA(raw numeric)
8668RETURNS numeric AS $$
8669    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8670        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8671        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8672        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8673$$ LANGUAGE SQL IMMUTABLE;
8674CREATE OR REPLACE FUNCTION CAL_WCK00030_EPSSGB(raw numeric)
8675RETURNS numeric AS $$
8676    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8677        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8678        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8679        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8680$$ LANGUAGE SQL IMMUTABLE;
8681CREATE OR REPLACE FUNCTION CAL_IUKE0010_EPSSGA(raw numeric)
8682RETURNS numeric AS $$
8683    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8684        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8685        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8686        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8687$$ LANGUAGE SQL IMMUTABLE;
8688CREATE OR REPLACE FUNCTION CAL_IUKE0010_EPSSGB(raw numeric)
8689RETURNS numeric AS $$
8690    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8691        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8692        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8693        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8694$$ LANGUAGE SQL IMMUTABLE;
8695CREATE OR REPLACE FUNCTION CAL_XXKP0696_EPSSGA(raw numeric)
8696RETURNS numeric AS $$
8697    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8698        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8699        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8700        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8701$$ LANGUAGE SQL IMMUTABLE;
8702CREATE OR REPLACE FUNCTION CAL_XXKP0696_EPSSGB(raw numeric)
8703RETURNS numeric AS $$
8704    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8705        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8706        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8707        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8708$$ LANGUAGE SQL IMMUTABLE;
8709CREATE OR REPLACE FUNCTION CAL_IUKE0012_EPSSGA(raw numeric)
8710RETURNS numeric AS $$
8711    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8712        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8713        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8714        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8715$$ LANGUAGE SQL IMMUTABLE;
8716CREATE OR REPLACE FUNCTION CAL_IUKE0012_EPSSGB(raw numeric)
8717RETURNS numeric AS $$
8718    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8719        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8720        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8721        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8722$$ LANGUAGE SQL IMMUTABLE;
8723CREATE OR REPLACE FUNCTION CAL_PPEK0167_EPSSGA(raw numeric)
8724RETURNS numeric AS $$
8725    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8726        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8727        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8728        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8729$$ LANGUAGE SQL IMMUTABLE;
8730CREATE OR REPLACE FUNCTION CAL_PPEK0167_EPSSGB(raw numeric)
8731RETURNS numeric AS $$
8732    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8733        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8734        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8735        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8736$$ LANGUAGE SQL IMMUTABLE;
8737CREATE OR REPLACE FUNCTION CAL_RUEK8028_EPSSGA(raw numeric)
8738RETURNS numeric AS $$
8739    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8740        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8741        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8742        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8743$$ LANGUAGE SQL IMMUTABLE;
8744CREATE OR REPLACE FUNCTION CAL_RUEK8028_EPSSGB(raw numeric)
8745RETURNS numeric AS $$
8746    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8747        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8748        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8749        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8750$$ LANGUAGE SQL IMMUTABLE;
8751CREATE OR REPLACE FUNCTION CAL_PPEK0114_EPSSGA(raw numeric)
8752RETURNS numeric AS $$
8753    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8754        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8755        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8756        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8757$$ LANGUAGE SQL IMMUTABLE;
8758CREATE OR REPLACE FUNCTION CAL_PPEK0114_EPSSGB(raw numeric)
8759RETURNS numeric AS $$
8760    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8761        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8762        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8763        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8764$$ LANGUAGE SQL IMMUTABLE;
8765CREATE OR REPLACE FUNCTION CAL_YYKP000F_EPSSGA(raw numeric)
8766RETURNS numeric AS $$
8767    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8768        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8769        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8770        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8771$$ LANGUAGE SQL IMMUTABLE;
8772CREATE OR REPLACE FUNCTION CAL_YYKP000F_EPSSGB(raw numeric)
8773RETURNS numeric AS $$
8774    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8775        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8776        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8777        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8778$$ LANGUAGE SQL IMMUTABLE;
8779CREATE OR REPLACE FUNCTION CAL_PPEK0186_EPSSGA(raw numeric)
8780RETURNS numeric AS $$
8781    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8782        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8783        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8784        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8785$$ LANGUAGE SQL IMMUTABLE;
8786CREATE OR REPLACE FUNCTION CAL_PPEK0186_EPSSGB(raw numeric)
8787RETURNS numeric AS $$
8788    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8789        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8790        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8791        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8792$$ LANGUAGE SQL IMMUTABLE;
8793CREATE OR REPLACE FUNCTION CAL_PPEK0620_EPSSGA(raw numeric)
8794RETURNS numeric AS $$
8795    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8796        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8797        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8798        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8799$$ LANGUAGE SQL IMMUTABLE;
8800CREATE OR REPLACE FUNCTION CAL_PPEK0620_EPSSGB(raw numeric)
8801RETURNS numeric AS $$
8802    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8803        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8804        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8805        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8806$$ LANGUAGE SQL IMMUTABLE;
8807CREATE OR REPLACE FUNCTION CAL_WCK00019_EPSSGA(raw numeric)
8808RETURNS numeric AS $$
8809    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8810        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8811        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8812        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8813$$ LANGUAGE SQL IMMUTABLE;
8814CREATE OR REPLACE FUNCTION CAL_WCK00019_EPSSGB(raw numeric)
8815RETURNS numeric AS $$
8816    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8817        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8818        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8819        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8820$$ LANGUAGE SQL IMMUTABLE;
8821CREATE OR REPLACE FUNCTION CAL_RUEK9018_EPSSGA(raw numeric)
8822RETURNS numeric AS $$
8823    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8824        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8825        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8826        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8827$$ LANGUAGE SQL IMMUTABLE;
8828CREATE OR REPLACE FUNCTION CAL_RUEK9018_EPSSGB(raw numeric)
8829RETURNS numeric AS $$
8830    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8831        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8832        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8833        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8834$$ LANGUAGE SQL IMMUTABLE;
8835CREATE OR REPLACE FUNCTION CAL_NAKP8529_EPSSGA(raw numeric)
8836RETURNS numeric AS $$
8837    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8838        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8839        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8840        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8841$$ LANGUAGE SQL IMMUTABLE;
8842CREATE OR REPLACE FUNCTION CAL_NAKP8529_EPSSGB(raw numeric)
8843RETURNS numeric AS $$
8844    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8845        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8846        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8847        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8848$$ LANGUAGE SQL IMMUTABLE;
8849CREATE OR REPLACE FUNCTION CAL_XXKP0600_EPSSGA(raw numeric)
8850RETURNS numeric AS $$
8851    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8852        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8853        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8854        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8855$$ LANGUAGE SQL IMMUTABLE;
8856CREATE OR REPLACE FUNCTION CAL_XXKP0600_EPSSGB(raw numeric)
8857RETURNS numeric AS $$
8858    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8859        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8860        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8861        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8862$$ LANGUAGE SQL IMMUTABLE;
8863CREATE OR REPLACE FUNCTION CAL_BHKP0016_EPSSGA(raw numeric)
8864RETURNS numeric AS $$
8865    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8866        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8867        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8868        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8869$$ LANGUAGE SQL IMMUTABLE;
8870CREATE OR REPLACE FUNCTION CAL_BHKP0016_EPSSGB(raw numeric)
8871RETURNS numeric AS $$
8872    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8873        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8874        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8875        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8876$$ LANGUAGE SQL IMMUTABLE;
8877CREATE OR REPLACE FUNCTION CAL_IUKE0003_EPSSGA(raw numeric)
8878RETURNS numeric AS $$
8879    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8880        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8881        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8882        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8883$$ LANGUAGE SQL IMMUTABLE;
8884CREATE OR REPLACE FUNCTION CAL_IUKE0003_EPSSGB(raw numeric)
8885RETURNS numeric AS $$
8886    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8887        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8888        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8889        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8890$$ LANGUAGE SQL IMMUTABLE;
8891CREATE OR REPLACE FUNCTION CAL_RUEK8064_EPSSGA(raw numeric)
8892RETURNS numeric AS $$
8893    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8894        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8895        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8896        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8897$$ LANGUAGE SQL IMMUTABLE;
8898CREATE OR REPLACE FUNCTION CAL_RUEK8064_EPSSGB(raw numeric)
8899RETURNS numeric AS $$
8900    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8901        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8902        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8903        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8904$$ LANGUAGE SQL IMMUTABLE;
8905CREATE OR REPLACE FUNCTION CAL_SEEK1015_EPSSGA(raw numeric)
8906RETURNS numeric AS $$
8907    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8908        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8909        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8910        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8911$$ LANGUAGE SQL IMMUTABLE;
8912CREATE OR REPLACE FUNCTION CAL_SEEK1015_EPSSGB(raw numeric)
8913RETURNS numeric AS $$
8914    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8915        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8916        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8917        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8918$$ LANGUAGE SQL IMMUTABLE;
8919CREATE OR REPLACE FUNCTION CAL_XXKP0552_EPSSGA(raw numeric)
8920RETURNS numeric AS $$
8921    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8922        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8923        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8924        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8925$$ LANGUAGE SQL IMMUTABLE;
8926CREATE OR REPLACE FUNCTION CAL_XXKP0552_EPSSGB(raw numeric)
8927RETURNS numeric AS $$
8928    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8929        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8930        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8931        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8932$$ LANGUAGE SQL IMMUTABLE;
8933CREATE OR REPLACE FUNCTION CAL_XXKP0692_EPSSGA(raw numeric)
8934RETURNS numeric AS $$
8935    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8936        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8937        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8938        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8939$$ LANGUAGE SQL IMMUTABLE;
8940CREATE OR REPLACE FUNCTION CAL_XXKP0692_EPSSGB(raw numeric)
8941RETURNS numeric AS $$
8942    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8943        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8944        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8945        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8946$$ LANGUAGE SQL IMMUTABLE;
8947CREATE OR REPLACE FUNCTION CAL_PPEK0108_EPSSGA(raw numeric)
8948RETURNS numeric AS $$
8949    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8950        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8951        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8952        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8953$$ LANGUAGE SQL IMMUTABLE;
8954CREATE OR REPLACE FUNCTION CAL_PPEK0108_EPSSGB(raw numeric)
8955RETURNS numeric AS $$
8956    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8957        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8958        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8959        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8960$$ LANGUAGE SQL IMMUTABLE;
8961CREATE OR REPLACE FUNCTION CAL_XXKP0450_EPSSGA(raw numeric)
8962RETURNS numeric AS $$
8963    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8964        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8965        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8966        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8967$$ LANGUAGE SQL IMMUTABLE;
8968CREATE OR REPLACE FUNCTION CAL_XXKP0450_EPSSGB(raw numeric)
8969RETURNS numeric AS $$
8970    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8971        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8972        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8973        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8974$$ LANGUAGE SQL IMMUTABLE;
8975CREATE OR REPLACE FUNCTION CAL_XXKP0553_EPSSGA(raw numeric)
8976RETURNS numeric AS $$
8977    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8978        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8979        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8980        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8981$$ LANGUAGE SQL IMMUTABLE;
8982CREATE OR REPLACE FUNCTION CAL_XXKP0553_EPSSGB(raw numeric)
8983RETURNS numeric AS $$
8984    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8985        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8986        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8987        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8988$$ LANGUAGE SQL IMMUTABLE;
8989CREATE OR REPLACE FUNCTION CAL_XXKP0386_EPSSGA(raw numeric)
8990RETURNS numeric AS $$
8991    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8992        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
8993        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
8994        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
8995$$ LANGUAGE SQL IMMUTABLE;
8996CREATE OR REPLACE FUNCTION CAL_XXKP0386_EPSSGB(raw numeric)
8997RETURNS numeric AS $$
8998    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
8999        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9000        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9001        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9002$$ LANGUAGE SQL IMMUTABLE;
9003CREATE OR REPLACE FUNCTION CAL_BHKE0007_EPSSGA(raw numeric)
9004RETURNS numeric AS $$
9005    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9006        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9007        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9008        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9009$$ LANGUAGE SQL IMMUTABLE;
9010CREATE OR REPLACE FUNCTION CAL_BHKE0007_EPSSGB(raw numeric)
9011RETURNS numeric AS $$
9012    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9013        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9014        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9015        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9016$$ LANGUAGE SQL IMMUTABLE;
9017CREATE OR REPLACE FUNCTION CAL_BHKE0027_EPSSGA(raw numeric)
9018RETURNS numeric AS $$
9019    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9020        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9021        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9022        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9023$$ LANGUAGE SQL IMMUTABLE;
9024CREATE OR REPLACE FUNCTION CAL_BHKE0027_EPSSGB(raw numeric)
9025RETURNS numeric AS $$
9026    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9027        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9028        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9029        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9030$$ LANGUAGE SQL IMMUTABLE;
9031CREATE OR REPLACE FUNCTION CAL_WCK00024_EPSSGA(raw numeric)
9032RETURNS numeric AS $$
9033    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9034        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9035        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9036        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9037$$ LANGUAGE SQL IMMUTABLE;
9038CREATE OR REPLACE FUNCTION CAL_WCK00024_EPSSGB(raw numeric)
9039RETURNS numeric AS $$
9040    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9041        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9042        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9043        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9044$$ LANGUAGE SQL IMMUTABLE;
9045CREATE OR REPLACE FUNCTION CAL_PPEK0123_EPSSGA(raw numeric)
9046RETURNS numeric AS $$
9047    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9048        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9049        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9050        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9051$$ LANGUAGE SQL IMMUTABLE;
9052CREATE OR REPLACE FUNCTION CAL_PPEK0123_EPSSGB(raw numeric)
9053RETURNS numeric AS $$
9054    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9055        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9056        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9057        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9058$$ LANGUAGE SQL IMMUTABLE;
9059CREATE OR REPLACE FUNCTION CAL_XXKP0544_EPSSGA(raw numeric)
9060RETURNS numeric AS $$
9061    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9062        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9063        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9064        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9065$$ LANGUAGE SQL IMMUTABLE;
9066CREATE OR REPLACE FUNCTION CAL_XXKP0544_EPSSGB(raw numeric)
9067RETURNS numeric AS $$
9068    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9069        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9070        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9071        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9072$$ LANGUAGE SQL IMMUTABLE;
9073CREATE OR REPLACE FUNCTION CAL_BHKE0043_EPSSGA(raw numeric)
9074RETURNS numeric AS $$
9075    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9076        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9077        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9078        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9079$$ LANGUAGE SQL IMMUTABLE;
9080CREATE OR REPLACE FUNCTION CAL_BHKE0043_EPSSGB(raw numeric)
9081RETURNS numeric AS $$
9082    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9083        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9084        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9085        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9086$$ LANGUAGE SQL IMMUTABLE;
9087CREATE OR REPLACE FUNCTION CAL_RKEK1026_EPSSGA(raw numeric)
9088RETURNS numeric AS $$
9089    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9090        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9091        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9092        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9093$$ LANGUAGE SQL IMMUTABLE;
9094CREATE OR REPLACE FUNCTION CAL_RKEK1026_EPSSGB(raw numeric)
9095RETURNS numeric AS $$
9096    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9097        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9098        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9099        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9100$$ LANGUAGE SQL IMMUTABLE;
9101CREATE OR REPLACE FUNCTION CAL_NAKP8511_EPSSGA(raw numeric)
9102RETURNS numeric AS $$
9103    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9104        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9105        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9106        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9107$$ LANGUAGE SQL IMMUTABLE;
9108CREATE OR REPLACE FUNCTION CAL_NAKP8511_EPSSGB(raw numeric)
9109RETURNS numeric AS $$
9110    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9111        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9112        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9113        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9114$$ LANGUAGE SQL IMMUTABLE;
9115CREATE OR REPLACE FUNCTION CAL_RUEK8032_EPSSGA(raw numeric)
9116RETURNS numeric AS $$
9117    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9118        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9119        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9120        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9121$$ LANGUAGE SQL IMMUTABLE;
9122CREATE OR REPLACE FUNCTION CAL_RUEK8032_EPSSGB(raw numeric)
9123RETURNS numeric AS $$
9124    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9125        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9126        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9127        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9128$$ LANGUAGE SQL IMMUTABLE;
9129CREATE OR REPLACE FUNCTION CAL_IUKE0006_EPSSGA(raw numeric)
9130RETURNS numeric AS $$
9131    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9132        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9133        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9134        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9135$$ LANGUAGE SQL IMMUTABLE;
9136CREATE OR REPLACE FUNCTION CAL_IUKE0006_EPSSGB(raw numeric)
9137RETURNS numeric AS $$
9138    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9139        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9140        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9141        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9142$$ LANGUAGE SQL IMMUTABLE;
9143CREATE OR REPLACE FUNCTION CAL_PPEK0119_EPSSGA(raw numeric)
9144RETURNS numeric AS $$
9145    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9146        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9147        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9148        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9149$$ LANGUAGE SQL IMMUTABLE;
9150CREATE OR REPLACE FUNCTION CAL_PPEK0119_EPSSGB(raw numeric)
9151RETURNS numeric AS $$
9152    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9153        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9154        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9155        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9156$$ LANGUAGE SQL IMMUTABLE;
9157CREATE OR REPLACE FUNCTION CAL_WCK00032_EPSSGA(raw numeric)
9158RETURNS numeric AS $$
9159    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9160        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9161        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9162        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9163$$ LANGUAGE SQL IMMUTABLE;
9164CREATE OR REPLACE FUNCTION CAL_WCK00032_EPSSGB(raw numeric)
9165RETURNS numeric AS $$
9166    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9167        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9168        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9169        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9170$$ LANGUAGE SQL IMMUTABLE;
9171CREATE OR REPLACE FUNCTION CAL_PPEK0136_EPSSGA(raw numeric)
9172RETURNS numeric AS $$
9173    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9174        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9175        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9176        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9177$$ LANGUAGE SQL IMMUTABLE;
9178CREATE OR REPLACE FUNCTION CAL_PPEK0136_EPSSGB(raw numeric)
9179RETURNS numeric AS $$
9180    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9181        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9182        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9183        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9184$$ LANGUAGE SQL IMMUTABLE;
9185CREATE OR REPLACE FUNCTION CAL_PPEK0149_EPSSGA(raw numeric)
9186RETURNS numeric AS $$
9187    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9188        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9189        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9190        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9191$$ LANGUAGE SQL IMMUTABLE;
9192CREATE OR REPLACE FUNCTION CAL_PPEK0149_EPSSGB(raw numeric)
9193RETURNS numeric AS $$
9194    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9195        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9196        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9197        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9198$$ LANGUAGE SQL IMMUTABLE;
9199CREATE OR REPLACE FUNCTION CAL_XXKP0417_EPSSGA(raw numeric)
9200RETURNS numeric AS $$
9201    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9202        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9203        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9204        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9205$$ LANGUAGE SQL IMMUTABLE;
9206CREATE OR REPLACE FUNCTION CAL_XXKP0417_EPSSGB(raw numeric)
9207RETURNS numeric AS $$
9208    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9209        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9210        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9211        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9212$$ LANGUAGE SQL IMMUTABLE;
9213CREATE OR REPLACE FUNCTION CAL_RKEP0001_EPSSGA(raw numeric)
9214RETURNS numeric AS $$
9215    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9216        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9217        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9218        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9219$$ LANGUAGE SQL IMMUTABLE;
9220CREATE OR REPLACE FUNCTION CAL_RKEP0001_EPSSGB(raw numeric)
9221RETURNS numeric AS $$
9222    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9223        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9224        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9225        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9226$$ LANGUAGE SQL IMMUTABLE;
9227CREATE OR REPLACE FUNCTION CAL_RKEK1022_EPSSGA(raw numeric)
9228RETURNS numeric AS $$
9229    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9230        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9231        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9232        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9233$$ LANGUAGE SQL IMMUTABLE;
9234CREATE OR REPLACE FUNCTION CAL_RKEK1022_EPSSGB(raw numeric)
9235RETURNS numeric AS $$
9236    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9237        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9238        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9239        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9240$$ LANGUAGE SQL IMMUTABLE;
9241CREATE OR REPLACE FUNCTION CAL_PPEK0183_EPSSGA(raw numeric)
9242RETURNS numeric AS $$
9243    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9244        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9245        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9246        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9247$$ LANGUAGE SQL IMMUTABLE;
9248CREATE OR REPLACE FUNCTION CAL_PPEK0183_EPSSGB(raw numeric)
9249RETURNS numeric AS $$
9250    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9251        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9252        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9253        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9254$$ LANGUAGE SQL IMMUTABLE;
9255CREATE OR REPLACE FUNCTION CAL_WCK00037_EPSSGA(raw numeric)
9256RETURNS numeric AS $$
9257    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9258        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9259        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9260        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9261$$ LANGUAGE SQL IMMUTABLE;
9262CREATE OR REPLACE FUNCTION CAL_WCK00037_EPSSGB(raw numeric)
9263RETURNS numeric AS $$
9264    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9265        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9266        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9267        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9268$$ LANGUAGE SQL IMMUTABLE;
9269CREATE OR REPLACE FUNCTION CAL_PPEK0602_EPSSGA(raw numeric)
9270RETURNS numeric AS $$
9271    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9272        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9273        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9274        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9275$$ LANGUAGE SQL IMMUTABLE;
9276CREATE OR REPLACE FUNCTION CAL_PPEK0602_EPSSGB(raw numeric)
9277RETURNS numeric AS $$
9278    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9279        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9280        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9281        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9282$$ LANGUAGE SQL IMMUTABLE;
9283CREATE OR REPLACE FUNCTION CAL_NAKP8026_EPSSGA(raw numeric)
9284RETURNS numeric AS $$
9285    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9286        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9287        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9288        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9289$$ LANGUAGE SQL IMMUTABLE;
9290CREATE OR REPLACE FUNCTION CAL_NAKP8026_EPSSGB(raw numeric)
9291RETURNS numeric AS $$
9292    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9293        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9294        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9295        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9296$$ LANGUAGE SQL IMMUTABLE;
9297CREATE OR REPLACE FUNCTION CAL_PPEK0650_EPSSGA(raw numeric)
9298RETURNS numeric AS $$
9299    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9300        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9301        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9302        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9303$$ LANGUAGE SQL IMMUTABLE;
9304CREATE OR REPLACE FUNCTION CAL_PPEK0650_EPSSGB(raw numeric)
9305RETURNS numeric AS $$
9306    SELECT CASE WHEN raw<=315 THEN 160+(raw-(81))*(100-(160))/(315-(81))
9307        WHEN raw<=2173 THEN 100+(raw-(315))*(22-(100))/(2173-(315))
9308        WHEN raw<=3937 THEN 22+(raw-(2173))*(-40-(22))/(3937-(2173))
9309        ELSE -40+(raw-(3937))*(-60-(-40))/(4051-(3937)) END;
9310$$ LANGUAGE SQL IMMUTABLE;