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
damping [2022/08/26 14:48] – [Damping factor] knutkohldamping [2022/08/26 16:10] (current) – [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. 
 + 
 +==== Variant 1 ==== 
 + 
 +Combined in one parameter ''damping'' (factors separated by **comma** if needed):
  
     ?damping=<factor morning and evening>     ?damping=<factor morning and evening>
     ?damping=<factor morning>,<factor evening>     ?damping=<factor morning>,<factor evening>
  
-With the default of ''0'' no modification will be made.+So 
  
-<fc #4682b4>**Blue**</fc> is the original forecast and <fc #ff0000>**red**</fc> the adjusted one.+  ''?damping=1'' use in the **morning** and in the **evening** a factor of ''1'' 
 +  * ''?damping=0,1'' use in the **morning** 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 26: Line 48:
 {{:damping:damping-1.jpg?direct&600|}} {{:damping:damping-1.jpg?direct&600|}}
  
-===== Split morning and evening ===== 
- 
-To use different factors for **morning** and **evening**, separate them by a **comma** like this 
- 
-    ?damping=0,1 
  
-Means in the **morning** use a factor of ''0'' and in the **evening** a factor of ''1''