Skip to content
Merged

Dev #30

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
7bcc06c
added notebooks for 1loop system
NicoRenaud Jul 5, 2024
d270ec5
added single matrix notebook for 3loops
NicoRenaud Jul 5, 2024
86d9de5
3loops
NicoRenaud Jul 12, 2024
f9a7258
added hhl notebook
NicoRenaud Jul 12, 2024
243e09d
added hhl notebooks
NicoRenaud Jul 17, 2024
1c15050
add new nbs
NicoRenaud Aug 5, 2024
a54e1ae
added new nbs
NicoRenaud Aug 5, 2024
e94c1c9
adde ddesign class
NicoRenaud Aug 5, 2024
107f022
add matrix
NicoRenaud Aug 5, 2024
6241745
designer works
NicoRenaud Aug 6, 2024
6013419
add tools
NicoRenaud Aug 8, 2024
08708fd
added tools
NicoRenaud Aug 8, 2024
830610c
work on network qubo
NicoRenaud Aug 9, 2024
f1deecd
newtork qubo works with epanet
NicoRenaud Aug 29, 2024
3e5b9bf
qubo works + refactor
NicoRenaud Aug 30, 2024
6394837
add custom loading data in model
NicoRenaud Aug 30, 2024
3e07df7
added notebook
NicoRenaud Aug 30, 2024
07fec81
made cm model
NicoRenaud Sep 2, 2024
6043d20
cm example
NicoRenaud Sep 2, 2024
25a8687
cm norebook
NicoRenaud Sep 2, 2024
fd4d2f1
Merge branch 'main' into qubo_poly_solver
NicoRenaud Sep 2, 2024
7dd1402
clean up
NicoRenaud Sep 2, 2024
123c073
clean up
NicoRenaud Sep 2, 2024
ae5fa33
add branch for qubols install
NicoRenaud Sep 2, 2024
874dbfc
added test and doc
NicoRenaud Sep 2, 2024
89244af
types
NicoRenaud Sep 2, 2024
6f02eb7
diagnostic rename
NicoRenaud Sep 2, 2024
756cb00
diagnostic rename
NicoRenaud Sep 2, 2024
071cc84
switch to qubops
NicoRenaud Sep 4, 2024
0b2e23f
move example to qubops
NicoRenaud Sep 4, 2024
904fc14
fix install typo
NicoRenaud Sep 4, 2024
900aea6
add module
NicoRenaud Sep 4, 2024
c3eb8c0
ruff
NicoRenaud Sep 4, 2024
fd48a74
only ruff the lib
NicoRenaud Sep 4, 2024
df5709d
started design from previous branch
NicoRenaud Sep 4, 2024
0172a99
new lin
NicoRenaud Sep 4, 2024
53eab54
epanet lib
NicoRenaud Sep 4, 2024
9355b4e
fix test
NicoRenaud Sep 4, 2024
acfbb6f
fix test
NicoRenaud Sep 4, 2024
2a8fe86
remove old compare
NicoRenaud Sep 4, 2024
a942000
designer works classicaly
NicoRenaud Sep 6, 2024
5610919
designer works quantumly
NicoRenaud Sep 6, 2024
cb5befa
started with DW
NicoRenaud Sep 6, 2024
0f505c3
fix designer in DW mode
NicoRenaud Sep 9, 2024
6b41013
notebook
NicoRenaud Sep 10, 2024
86431d7
PR from Carlos
NicoRenaud Sep 10, 2024
849cef2
added 2loop example
NicoRenaud Sep 10, 2024
61037d4
2loops example
NicoRenaud Sep 11, 2024
08b5662
started refac
NicoRenaud Sep 11, 2024
d4ecc2d
changed init matrices to absolute value formalism
NicoRenaud Sep 11, 2024
4b2d051
cm and dw work
NicoRenaud Sep 11, 2024
849ceb1
fixed diagnostic
NicoRenaud Sep 11, 2024
1d4616b
noebooks for net0 cm and dw
NicoRenaud Sep 11, 2024
d18ab21
reorder values
NicoRenaud Sep 11, 2024
5b5bad3
tested 2loops
NicoRenaud Sep 11, 2024
a98bb7f
2loops example
NicoRenaud Sep 12, 2024
cf2865e
started design
NicoRenaud Sep 12, 2024
f382139
Merge pull request #27 from QuantumApplicationLab/qubops_absolute_value
NicoRenaud Sep 13, 2024
7018382
fix indexing
NicoRenaud Sep 13, 2024
87e7fb2
pipe encoding index
NicoRenaud Sep 13, 2024
de60894
merge qubo_poly_solver
NicoRenaud Sep 13, 2024
9a9c3a9
classical solution for CM
NicoRenaud Sep 13, 2024
4de839b
dw sol
NicoRenaud Sep 13, 2024
63ae52e
fix dw equation
NicoRenaud Sep 13, 2024
672a305
fix merge conflit
NicoRenaud Sep 13, 2024
8ad0a67
dw matrices fixed
NicoRenaud Sep 13, 2024
c948c55
notebooks
NicoRenaud Sep 13, 2024
3f28c83
fix dw classical solution
NicoRenaud Sep 14, 2024
bb00c8a
register sampleset
NicoRenaud Oct 10, 2024
2f16328
pipe sampler opions as kwarg
NicoRenaud Oct 14, 2024
33bdad5
develop internal sampler
NicoRenaud Oct 16, 2024
6b3d548
added new sampler
NicoRenaud Oct 16, 2024
0c2a3d2
refactor the step classes
NicoRenaud Oct 17, 2024
561887d
new step
NicoRenaud Oct 17, 2024
f7c3077
added freeze option
NicoRenaud Oct 18, 2024
ad89fd3
sampler
NicoRenaud Oct 23, 2024
f51b87d
added landscape analysis
NicoRenaud Oct 23, 2024
5d06324
aaaaa
NicoRenaud Oct 25, 2024
1a485a3
added script for statistic
NicoRenaud Oct 31, 2024
4eff9cb
finish compute on 2loops
NicoRenaud Nov 1, 2024
a30e494
clean up
NicoRenaud Nov 1, 2024
f7e6d71
clean up
NicoRenaud Nov 1, 2024
77f80cd
started refactor design
NicoRenaud Nov 6, 2024
3816daa
fix sampler for design
NicoRenaud Nov 8, 2024
eea1dd2
test design
NicoRenaud Nov 8, 2024
f52fb5d
replace equality constraint for pressure
NicoRenaud Nov 9, 2024
cd34076
start refactor
NicoRenaud Nov 19, 2024
064ee69
clean up notebook
NicoRenaud Nov 20, 2024
5de91e5
clean up qubo solver
NicoRenaud Nov 20, 2024
9093572
rename step file
NicoRenaud Nov 20, 2024
95d18c9
started refact designer
NicoRenaud Nov 20, 2024
521321e
clean up notebooks
NicoRenaud Nov 21, 2024
a944ea4
merge dev into branch
NicoRenaud Nov 21, 2024
3bed56f
test on dev
NicoRenaud Nov 21, 2024
4ebd7d7
ruff
NicoRenaud Nov 21, 2024
244a96d
fix test
NicoRenaud Nov 21, 2024
6ba3063
fix init sample
NicoRenaud Nov 21, 2024
0ca53ba
Merge pull request #28 from QuantumApplicationLab/qubo_designer_pipe_…
NicoRenaud Nov 21, 2024
7fbc59d
fix conflict
NicoRenaud Dec 16, 2024
537fc3b
automate variable selection
NicoRenaud Dec 16, 2024
da2c4b6
add multisolve
NicoRenaud Dec 16, 2024
f5e1c62
added nb for pipe optimization
NicoRenaud Dec 16, 2024
51caaf6
clean up
NicoRenaud Dec 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev

jobs:

Expand Down
6 changes: 3 additions & 3 deletions docs/notebooks/networks/Net0.inp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ File obtained via Mario of a 2 node sysem

[PIPES]
;ID Node1 Node2 Length Diameter Roughness MinorLoss Status
P1 R1 J1 100 250 0.05 0 Open ;
P2 J1 D1 1000 200 0.04 0 Open ;
P1 R1 J1 1000 250 0.05 0 Open ;
P2 J1 D1 1000 250 0.05 0 Open ;

[PUMPS]
;ID Node1 Node2 Parameters
Expand Down Expand Up @@ -94,7 +94,7 @@ File obtained via Mario of a 2 node sysem
Headloss D-W
Specific Gravity 1
Viscosity 1
Trials 40
Trials 50
Accuracy 0.1
CHECKFREQ 2
MAXCHECK 10
Expand Down
128 changes: 128 additions & 0 deletions docs/notebooks/networks/Net0_CM.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
[TITLE]
File obtained via Mario of a 2 node sysem


[JUNCTIONS]
;ID Elev Demand Pattern
J1 0 0 ;
D1 0 50 ;

[RESERVOIRS]
;ID Head Pattern
R1 30 ;

[TANKS]
;ID Elevation InitLevel MinLevel MaxLevel Diameter MinVol VolCurve Overflow

[PIPES]
;ID Node1 Node2 Length Diameter Roughness MinorLoss Status
P1 R1 J1 1000 1000 0.015 0 Open ;
P2 J1 D1 1000 1000 0.015 0 Open ;

[PUMPS]
;ID Node1 Node2 Parameters

[VALVES]
;ID Node1 Node2 Diameter Type Setting MinorLoss

[TAGS]

[DEMANDS]
;Junction Demand Pattern Category

[STATUS]
;ID Status/Setting

[PATTERNS]
;ID Multipliers

[CURVES]
;ID X-Value Y-Value

[CONTROLS]

[RULES]

[ENERGY]
Global Efficiency 75
Global Price 0
Demand Charge 0

[EMITTERS]
;Junction Coefficient

[QUALITY]
;Node InitQual

[SOURCES]
;Node Type Quality Pattern

[REACTIONS]
;Type Pipe/Tank Coefficient


[REACTIONS]
Order Bulk 1
Order Tank 1
Order Wall 1
Global Bulk 0
Global Wall 0
Limiting Potential 0
Roughness Correlation 0

[MIXING]
;Tank Model

[TIMES]
Duration 1
Hydraulic Timestep 1:00
Quality Timestep 0:05
Pattern Timestep 1:00
Pattern Start 0:00
Report Timestep 1:00
Report Start 0:00
Start ClockTime 12 am
Statistic None

[REPORT]
Status No
Summary No
Page 0

[OPTIONS]
Units LPS
Headloss C-M
Specific Gravity 1
Viscosity 1
Trials 40
Accuracy 0.1
CHECKFREQ 2
MAXCHECK 10
DAMPLIMIT 0
Unbalanced Continue 10
Pattern 1
Demand Multiplier 1.0
Emitter Exponent 0.5
Quality None mg/L
Diffusivity 1
Tolerance 0.01

[COORDINATES]
;Node X-Coord Y-Coord
J1 10.00000 60.00000
D1 110.00000 60.00000
R1 -11.72214 74.24023

[VERTICES]
;Link X-Coord Y-Coord

[LABELS]
;X-Coord Y-Coord Label & Anchor Node

[BACKDROP]
DIMENSIONS 0.000 0.000 10000.000 10000.000
UNITS None
FILE
OFFSET 0.00 0.00

[END]
Loading
Loading