[Gantt] Set a limit on allocation of resources

0 votes
asked Feb 13, 2023 in Question / help by anonymous

Hello everybody,

I would like to set a limit on allocation/capacity of resources in Gantt Diagram. Is it possible?

In particular, I would like to limit the allocation/capacity of a resource to 100%.

For example, in this diagram on 13 March, Pippo has an allocation of 200%. Instead, I would like that his capacity is 100% and Task 3 shifts to the right, after the completion of Task 1.

Is it possible? How?

Thank you.

commented Feb 13, 2023 by anonymous

Hello again,

to be thorough, the diagram has been produced with this code:

@startgantt

saturday are closed
sunday are closed

project starts the 2023/02/27

[Task1] on {Pippo} lasts 10 days
[Task2] on {Topolino} lasts 2 days
[Task3] on {Pippo} lasts 1 days

[Task1] -> [Task3]
[Task2] -> [Task3]

{Topolino} is off on monday
{Topolino} is off on tuesday
{Topolino} is off on friday
{Pippo} is off on wednesday

@endgantt

Thank you!

1 Answer

0 votes
answered Feb 22, 2023 by Mike Cantacuzino

There is a problem when computing days off and days closed for the same participant.

PlantUML diagram

Here is the code :

@startgantt

saturday are closed
sunday are closed

project starts the 2023/02/27

[Task1] on {Pippo} lasts 10 days
[Task2] on {Topolino} lasts 2 days
[_Task1] happens after [Task1]'s end
[_Task3] happens 1 day after [Task1]'s end
[Task3] on {Pippo} occurs from [_Task1] to [_Task3]


{Topolino} is off on monday
{Topolino} is off on tuesday
{Topolino} is off on friday
{Pippo} is off on wednesday

@endgantt

...