diff options
-rw-r--r-- | plugins/ZamTube/wdf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ZamTube/wdf.cpp b/plugins/ZamTube/wdf.cpp index d81ee96..03ba6d2 100644 --- a/plugins/ZamTube/wdf.cpp +++ b/plugins/ZamTube/wdf.cpp @@ -194,7 +194,7 @@ V::V(T ee, T r) : Adaptor(ONEPORT) { T V::waveUp() { T watts = 100.0; WU = 2.0*e - WD; - //if (Voltage()*Current() > watts) WU *= 0.999;//0.9955; + if (Voltage()*Current() > watts) WU *= 0.995;//0.9955; DUMP(printf("UP\tV\tWU=%f\tWD=%f\tV=%f\n",WU, WD,(WD+WU)/2.0)); return WU; } |