Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Chart for limits set to vizualise limits distribution #2589

Merged
merged 38 commits into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
79113c7
Explanatory chart added to limits set pane that represents the distri…
basseche Feb 3, 2025
7974036
formatting chart
basseche Feb 17, 2025
f9ca171
solve sonar issue
basseche Feb 17, 2025
619cb15
Merge branch 'main' into graphique_LimitSets
basseche Feb 17, 2025
8a8a54b
change colors
basseche Feb 18, 2025
68815b1
Merge branch 'main' into graphique_LimitSets
basseche Feb 18, 2025
c218529
Merge branch 'main' into graphique_LimitSets
basseche Feb 19, 2025
2453bcf
review
basseche Feb 19, 2025
6f63ab8
review2
basseche Feb 19, 2025
b38f81a
Merge branch 'main' into graphique_LimitSets
basseche Feb 19, 2025
b0a053b
legend : use tempo instead of names
basseche Feb 19, 2025
c6d6a3d
Merge branch 'main' into graphique_LimitSets
basseche Feb 20, 2025
4a645bd
format time + incoherent data
basseche Feb 20, 2025
e1e1529
if 2 incoherent limit sort by tempo
basseche Feb 20, 2025
5ebdb85
incoherent data
basseche Feb 20, 2025
28420d4
correct conditions incoherence
basseche Feb 20, 2025
09b9840
correct incoherence conditions and introduce Threshold without Tempo
basseche Feb 21, 2025
cd56b16
reduce complexity
basseche Feb 21, 2025
d37466d
Take into account thresholds without tempo and without value
basseche Feb 24, 2025
a8b2432
resolve warnings
basseche Feb 24, 2025
02a2f30
correction
basseche Feb 24, 2025
eab475e
Merge branch 'main' into graphique_LimitSets
basseche Feb 24, 2025
94725f5
works but warning on valueFormatter
basseche Feb 24, 2025
d495edf
All Ok
basseche Feb 24, 2025
c56930d
correct packages
basseche Feb 24, 2025
4216bff
correct dependencies
basseche Feb 24, 2025
885b95f
Update src/components/dialogs/limits/limitsChart.tsx
basseche Feb 25, 2025
b2ea24b
Update src/components/dialogs/limits/limitsChart.tsx
basseche Feb 25, 2025
1534e45
Update src/components/dialogs/limits/limitsChart.tsx
basseche Feb 25, 2025
dc1185b
rename variable
basseche Feb 25, 2025
1830011
remove type
basseche Feb 25, 2025
c389383
simplify condition
basseche Feb 25, 2025
dca74c6
Merge branch 'main' into graphique_LimitSets
basseche Feb 25, 2025
0e14929
correc merge
basseche Feb 25, 2025
e4fc536
Merge branch 'main' into graphique_LimitSets
basseche Feb 25, 2025
d4e504b
rename IST => permanentLimit
basseche Feb 26, 2025
f6af099
prettier
basseche Feb 26, 2025
2d8c8bf
Merge branch 'main' into graphique_LimitSets
thangqp Feb 26, 2025
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
229 changes: 229 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@mui/icons-material": "^5.16.14",
"@mui/lab": "5.0.0-alpha.175",
"@mui/material": "^5.16.14",
"@mui/x-charts": "^7.25.0",
"@mui/x-tree-view": "^6.17.0",
"@powsybl/network-viewer": "1.7.0",
"@reduxjs/toolkit": "^2.5.1",
Expand Down
4 changes: 4 additions & 0 deletions src/components/dialogs/limits/limits-side-pane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import { TemporaryLimit } from '../../../services/network-modification-types';
import DndTable from '../../utils/dnd-table/dnd-table';
import TemporaryLimitsTable from './temporary-limits-table';
import { CurrentTreeNode } from '../../../redux/reducer';
import LimitsChart from './limitsChart';

export interface LimitsSidePaneProps {
limitsGroupFormName: string;
Expand Down Expand Up @@ -198,6 +199,9 @@ export function LimitsSidePane({

return (
<Box sx={{ p: 2 }}>
<Box>
<LimitsChart limitsGroupFormName={limitsGroupFormName} />
</Box>
{permanentCurrentLimitField}
<Box component={`h4`}>
<FormattedMessage id="TemporaryCurrentLimitsText" />
Expand Down
Loading
Loading