Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
damping [2017/10/07 15:13] – [Damping factor] knutkohldamping [2022/08/26 16:10] – [Variant 1] knutkohl
Line 1: Line 1:
 ====== Damping factor ====== ====== Damping factor ======
  
-With the URL parameter ''damping'' you can adjust the result in the morning and the evening.+With the URL parameters you can adjust the result in the morning and the evening.
  
-With the default of ''0'' no modification will be made.+==== Variant 1 ====
  
-<fc #4682b4>**Blue**</fc> is the original forecast and <fc #ff0000>**red**</fc> the adjusted one.+Combined in one parameter ''damping'' (factors separated by **comma** if needed):
  
 +    ?damping=<factor morning and evening>
 +    ?damping=<factor morning>,<factor evening>
 +
 +So 
 +
 +  * ''?damping=1'' means in the **morning** and in the **evening** use a factor of ''1''
 +  * ''?damping=0,1'' means in the **morning** use a factor of ''0'' and in the **evening** a factor of ''1''
 +
 +==== Variant 2 ====
 +
 +For APPs **checking format of parameters** during configuration, use the 2 separate parameters ''damping_morning'' and/or ''damping_evening'':
 +
 +//Types: float, 0..1//
 +
 +    ?damping_morning=<factor> >>> same as ?damping=<factor>,0
 +    ?damping_evening=<factor> >>> same as ?damping=0,<factor>
 +    ?damping_morning=<factor1>&damping_evening=<factor2> >>> same as ?damping=<factor1>,<factor2>
 +
 +With the default of ''0'', [[#damping_0|no modification]] will be made at all.
 +
 +----
 +
 +<fs large><fc #4682b4>**Blue**</fc> is the original forecast and <fc #ff0000>**red**</fc> the adjusted one.</fs>
 +
 +----
 ===== ?damping=0 ===== ===== ?damping=0 =====
  
Line 22: Line 47:
  
 {{:damping:damping-1.jpg?direct&600|}} {{:damping:damping-1.jpg?direct&600|}}
 +