diff --git a/subprojects/cycle_shift/.ob-jupyter/32cdb45d8fb7ea0e5c35781fd37cc2f52052d397.svg b/subprojects/cycle_shift/.ob-jupyter/32cdb45d8fb7ea0e5c35781fd37cc2f52052d397.svg new file mode 100644 index 0000000..e97d2a0 --- /dev/null +++ b/subprojects/cycle_shift/.ob-jupyter/32cdb45d8fb7ea0e5c35781fd37cc2f52052d397.svg @@ -0,0 +1,985 @@ + + + + + + + + 1980-01-01T00:00:00+00:00 + image/svg+xml + + + Matplotlib v3.6.2, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/subprojects/cycle_shift/.ob-jupyter/4e0d909ce6876e921a04632ce252173a5d694bc6.svg b/subprojects/cycle_shift/.ob-jupyter/4e0d909ce6876e921a04632ce252173a5d694bc6.svg new file mode 100644 index 0000000..061464d --- /dev/null +++ b/subprojects/cycle_shift/.ob-jupyter/4e0d909ce6876e921a04632ce252173a5d694bc6.svg @@ -0,0 +1,37942 @@ + + + + + + + + 1980-01-01T00:00:00+00:00 + image/svg+xml + + + Matplotlib v3.6.2, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/subprojects/cycle_shift/.ob-jupyter/a72bbc9ec89e4544515f5eab30e1859efb847caa.svg b/subprojects/cycle_shift/.ob-jupyter/a72bbc9ec89e4544515f5eab30e1859efb847caa.svg new file mode 100644 index 0000000..742fe69 --- /dev/null +++ b/subprojects/cycle_shift/.ob-jupyter/a72bbc9ec89e4544515f5eab30e1859efb847caa.svg @@ -0,0 +1,1279 @@ + + + + + + + + 1980-01-01T00:00:00+00:00 + image/svg+xml + + + Matplotlib v3.6.2, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/subprojects/cycle_shift/.ob-jupyter/bac5d6cbfa10534a7e72f3dc4d7dd33f71c21353.svg b/subprojects/cycle_shift/.ob-jupyter/bac5d6cbfa10534a7e72f3dc4d7dd33f71c21353.svg new file mode 100644 index 0000000..c00715e --- /dev/null +++ b/subprojects/cycle_shift/.ob-jupyter/bac5d6cbfa10534a7e72f3dc4d7dd33f71c21353.svg @@ -0,0 +1,931 @@ + + + + + + + + 1980-01-01T00:00:00+00:00 + image/svg+xml + + + Matplotlib v3.6.2, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/subprojects/cycle_shift/.ob-jupyter/ebad7ec6c10df95f2135933f1e8d74b3724c1bad.svg b/subprojects/cycle_shift/.ob-jupyter/ebad7ec6c10df95f2135933f1e8d74b3724c1bad.svg new file mode 100644 index 0000000..026e157 --- /dev/null +++ b/subprojects/cycle_shift/.ob-jupyter/ebad7ec6c10df95f2135933f1e8d74b3724c1bad.svg @@ -0,0 +1,507 @@ + + + + + + + + 1980-01-01T00:00:00+00:00 + image/svg+xml + + + Matplotlib v3.6.2, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/subprojects/cycle_shift/.ob-jupyter/eedf466b2536e728592505988e916b68bf92dc4b.svg b/subprojects/cycle_shift/.ob-jupyter/eedf466b2536e728592505988e916b68bf92dc4b.svg new file mode 100644 index 0000000..021d19f --- /dev/null +++ b/subprojects/cycle_shift/.ob-jupyter/eedf466b2536e728592505988e916b68bf92dc4b.svg @@ -0,0 +1,37982 @@ + + + + + + + + 1980-01-01T00:00:00+00:00 + image/svg+xml + + + Matplotlib v3.6.2, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/subprojects/cycle_shift/.ob-jupyter/fc2ae5a923f986e49ebeddb535a1e94a1ca42eb9.svg b/subprojects/cycle_shift/.ob-jupyter/fc2ae5a923f986e49ebeddb535a1e94a1ca42eb9.svg new file mode 100644 index 0000000..51adfc1 --- /dev/null +++ b/subprojects/cycle_shift/.ob-jupyter/fc2ae5a923f986e49ebeddb535a1e94a1ca42eb9.svg @@ -0,0 +1,1033 @@ + + + + + + + + 1980-01-01T00:00:00+00:00 + image/svg+xml + + + Matplotlib v3.6.2, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/subprojects/cycle_shift/cycle_shift.org b/subprojects/cycle_shift/cycle_shift.org index aea7789..6bf839a 100644 --- a/subprojects/cycle_shift/cycle_shift.org +++ b/subprojects/cycle_shift/cycle_shift.org @@ -106,6 +106,27 @@ Running it locally won't do any harm though. #+RESULTS: ** Analysis +*** Convergence of Flow vs System +#+begin_src jupyter-python + system = [ + np.divide(σ, val, where=val>0).mean() + for σ, val in zip(baseline.system_energy().σs, baseline.system_energy().values) + ] + flow = [ + np.divide(σ, val, where=val>0).mean() + for σ, val in zip(baseline.bath_energy_flow().σs, baseline.bath_energy_flow().values) + ] + plt.plot(system) + plt.plot(flow) +#+end_src + +#+RESULTS: +:RESULTS: +| | +[[file:./.ob-jupyter/ebad7ec6c10df95f2135933f1e8d74b3724c1bad.svg]] +:END: + + *** Baseline This plots the full energy overview for the baseline model. #+begin_src jupyter-python diff --git a/subprojects/cycle_shift/tangle/cycle_shift.py b/subprojects/cycle_shift/tangle/cycle_shift.py index abd6e24..13c2370 100644 --- a/subprojects/cycle_shift/tangle/cycle_shift.py +++ b/subprojects/cycle_shift/tangle/cycle_shift.py @@ -22,6 +22,17 @@ logging_setup(logging.INFO) ot.plot_cycle(baseline) fs.export_fig("cycle_prototype", y_scaling=.7) +system = [ + np.divide(σ, val, where=val>0).mean() + for σ, val in zip(baseline.system_energy().σs, baseline.system_energy().values) +] +flow = [ + np.divide(σ, val, where=val>0).mean() + for σ, val in zip(baseline.bath_energy_flow().σs, baseline.bath_energy_flow().values) +] +plt.plot(system) +plt.plot(flow) + ot.plot_energy(baseline) print( fs.tex_value(baseline.system_energy().N, prefix="N="),