Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conversion factor for variables doesn't work #20

Open
triessner opened this issue Jan 29, 2021 · 3 comments
Open

conversion factor for variables doesn't work #20

triessner opened this issue Jan 29, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@triessner
Copy link

I use the function conversion factor (Umrechnungsfaktor in german) in the visu (see picture below).

Screenshot_20210129_183647

In the java version and in the visu inside of codesys, it works. But in the javascript visu, the factor is always 1 (no conversion is done at all), independent whether there is a conversion factor or not.

@tnentwig tnentwig added the enhancement New feature or request label Jan 31, 2021
@Ekristoffe
Copy link
Collaborator

i don't think this is supported right now and i don't know what is does ...
could you enlight me ?

@triessner
Copy link
Author

This factor is multiplied with the value of the variable and the result is displayed in the visu. In my example, I habe a value of a storage in percent, and in the visu I want to show the value in kWh. The conversion factor between precent and kWh in this case is 8,38 (1% equates to 8,38 kWh). Of course I can declare a new variable in the global variables list, calculate the energy value in the programme and use this variable in the visu. But it is more "quick and dirty" to use the factor.

@tnentwig
Copy link
Owner

This has to included in the interfaces within #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants