diff --git a/README.md b/README.md new file mode 100644 index 0000000..e1ffb6e --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Dimmer RMS + +## [EN] RMS calcs and visualizations over phase angle controller. + +This project has been built as part of a larger one. +I am not going to expand the functions for now, but I will attend to corrections and receive suggestions in general. + +## [ES] Cálculos y visualizaciones RMS sobre el control de disparo por ángulo de fase. + +Este proyecto ha sido desarrollado como parte otro mayor. +No planeo expander funcionalidades. Se atenderán corrección de errores y se leerán sugerencias en general. + +### Ploteos + +Plots + +### Solve output + + + +Table output + + \ No newline at end of file diff --git a/dimmer.py b/dimmer.py index cc55ec9..a0a340e 100644 --- a/dimmer.py +++ b/dimmer.py @@ -93,5 +93,6 @@ def print_dimmer_state(self): print_table(header, data) def print_table(header, data): + print("") print(tabulate(tabular_data=data, headers=header, tablefmt="simple", numalign="center", stralign="center")) \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 965d800..7702bbd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -matplotlib==3.4.3 -numpy==1.21.2 -scipy==1.7.1 -tabulate==0.8.9 \ No newline at end of file +matplotlib~=3.4.3 +numpy~=1.21.2 +scipy~=1.7.1 +tabulate~=0.8.9 \ No newline at end of file diff --git a/screenshots/fig_1 - Plots.png b/screenshots/fig_1 - Plots.png new file mode 100644 index 0000000..2c11471 Binary files /dev/null and b/screenshots/fig_1 - Plots.png differ diff --git a/screenshots/fig_2 - Solve output.png b/screenshots/fig_2 - Solve output.png new file mode 100644 index 0000000..2042157 Binary files /dev/null and b/screenshots/fig_2 - Solve output.png differ diff --git a/screenshots/fig_3 - Table output.png b/screenshots/fig_3 - Table output.png new file mode 100644 index 0000000..70ab8da Binary files /dev/null and b/screenshots/fig_3 - Table output.png differ