Closed parydeogracias closed 3 months ago
I see that the distance unit in the Results window is "metre" (sorry for the missing accent but I do not run a French keyboard). Do you see a warning with the text "Base distance unit is not meters but ....... . Unit conversion is taking place" when you run the calculation? If yes, what is the distance unit reported by the plugin in place of the dots?
Seems like an issue with the Regional Settings of your PC and the language settings of QGIS. Can you please switch to US or UK and make the test?
No, I don't have a message, but against all odds, I now have a good result.
I will now close the incident as the problem no longer persists. If that's okay with you.
It is strange. Can you please also provide a screenshot of the Network Analysis tab? The loss on path is calculated directly from the length and as I saw, the length is correct. So my initial testing on the regional settings should not be valid (there are several issues with the handling of units in QGIS so it was the first suspicious issue.) Please leave the issue open for a few days/weeks, to see if it reappears!
As requested, here is the capture. Ok to leave the issue open.
Thank you. I reproduced the problem changing the language settings of QGIS to french. I will analyze it.
...and the warning "Base distance unit is not meters but metres . Unit conversion is taking place" appears on the top part of the map. It shows only for 5 seconds, so probably you have missed it.
Oh, okay. Thank you!
Issue confirmed. It applies to all cases where the QGIS language setting does not report the meter length unit as "meters". There was a mechanism to identify and correct such cases, but only the identification part worked properly by presenting the message "Base distance unit is not meters but ....... Unit conversion is taking place" . The fix will be applied in the plugin upcoming release 1.3.1.
Issue fixed in 1.3.1. New release 1.3.1, allong with the new PON profile functionality will be available from the QGIS plugin directory in a few days. The new release is already available from Github Releases as a zip file. You may download and test.
Thank you so much!!!!!🎉🥳
Version 1.3.1 works perfectly well. Thanks again!
Description
The fiber loss calculation in the QGIS plugin appears to be incorrect. The attenuation values obtained from the plugin are significantly higher than expected, which suggests a potential bug or misconfiguration in the plugin.
Configuration Parameters
Below are the configuration parameters used:
Results
The results obtained from the plugin are as follows:
Expected Results
The expected attenuation based on the configured parameters should be much lower. The expected total attenuation is calculated as follows:
Loss due to connectors:
Loss due to fiber:
Expected total loss = Connector loss + Fiber attenuation loss
Observed Issue
The calculated total loss by the plugin is 270013.25 dB, which is unrealistic for a distance of 9.7 Km.
Steps to Reproduce
Environment
Screenshots
Configuration:
Results:
Additional Information
The significant discrepancy suggests a potential bug in the plugin's loss calculation algorithm or an issue with the parameter interpretation. Verification of the units and conversion factors used by the plugin might also be necessary.
Thank you for your attention to this matter.