pythermalcomfort icon indicating copy to clipboard operation
pythermalcomfort copied to clipboard

Limit inputs functions

Open FedericoTartarini opened this issue 4 months ago • 1 comments

Describe the bug Currently many of the functions accept kwargs as input but this is not great since if a person misspell the input variable then Python does not return an error. See discussion #98

To Reproduce Steps to reproduce the behavior:

  1. pass input stand='ashrae' to pmv
  2. No error is thrown but the the function uses the ISO model to calculate the output.

Expected behavior An error message should be returned

FedericoTartarini avatar Feb 22 '24 00:02 FedericoTartarini

I partially started solving this with the commit I did on the 22nd of Feb, but I did not removed kwarg from all the functions

FedericoTartarini avatar Feb 22 '24 05:02 FedericoTartarini